/*! For license information please see main.30399fa0.js.LICENSE.txt */
!function(){var e={694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var l=a.apply(null,n);l&&e.push(l)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},110:function(e,t,n){"use strict";var r=n(309),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},l={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function u(e){return r.isMemo(e)?l:i[e.$$typeof]||a}i[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[r.Memo]=l;var s=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(h){var a=p(n);a&&a!==h&&e(t,a,r)}var l=c(n);f&&(l=l.concat(f(n)));for(var i=u(t),v=u(n),m=0;m<l.length;++m){var y=l[m];if(!o[y]&&(!r||!r[y])&&(!v||!v[y])&&(!i||!i[y])){var g=d(n,y);try{s(t,y,g)}catch(b){}}}}return t}},746:function(e,t){"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,i=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,d=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case f:case o:case i:case l:case p:return e;default:switch(e=e&&e.$$typeof){case s:case d:case m:case v:case u:return e;default:return t}}case a:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=d,t.Fragment=o,t.Lazy=m,t.Memo=v,t.Portal=a,t.Profiler=i,t.StrictMode=l,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===s},t.isContextProvider=function(e){return x(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===o},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===v},t.isPortal=function(e){return x(e)===a},t.isProfiler=function(e){return x(e)===i},t.isStrictMode=function(e){return x(e)===l},t.isSuspense=function(e){return x(e)===p},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===f||e===i||e===l||e===p||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===s||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},309:function(e,t,n){"use strict";e.exports=n(746)},888:function(e,t,n){"use strict";var r=n(47);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,l){if(l!==r){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},7:function(e,t,n){e.exports=n(888)()},47:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},463:function(e,t,n){"use strict";var r=n(791),a=n(296);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var l=new Set,i={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(i[e]=t,e=0;e<t.length;e++)l.add(t[e])}var c=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function v(e,t,n,r,a,o,l){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new v(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new v(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new v(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new v(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new v(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new v(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new v(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new v(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new v(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var a=m.hasOwnProperty(t)?m[t]:null;(null!==a?0!==a.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!f.call(h,e)||!f.call(p,e)&&(d.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,g);m[t]=new v(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new v("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new v(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),A=Symbol.for("react.provider"),N=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),O=Symbol.for("react.suspense_list"),I=Symbol.for("react.memo"),M=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function R(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=L&&e[L]||e["@@iterator"])?e:null}var D,F=Object.assign;function z(e){if(void 0===D)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);D=t&&t[1]||""}return"\n"+D+e}var V=!1;function U(e,t){if(!e||V)return"";V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(s){var r=s}Reflect.construct(e,[],t)}else{try{t.call()}catch(s){r=s}e.call(t.prototype)}else{try{throw Error()}catch(s){r=s}e()}}catch(s){if(s&&r&&"string"===typeof s.stack){for(var a=s.stack.split("\n"),o=r.stack.split("\n"),l=a.length-1,i=o.length-1;1<=l&&0<=i&&a[l]!==o[i];)i--;for(;1<=l&&0<=i;l--,i--)if(a[l]!==o[i]){if(1!==l||1!==i)do{if(l--,0>--i||a[l]!==o[i]){var u="\n"+a[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=l&&0<=i);break}}}finally{V=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function B(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function K(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case C:return"Profiler";case E:return"StrictMode";case j:return"Suspense";case O:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case A:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case I:return null!==(t=e.displayName||null)?t:K(e.type)||"Memo";case M:t=e._payload,e=e._init;try{return K(e(t))}catch(n){}}return null}function Q(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return K(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function G(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function J(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Z(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function _(e,t){Z(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function $(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function le(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ie(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ie(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function ve(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ve(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ye=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ye[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(o(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function Ce(e){if(e=ba(e)){if("function"!==typeof ke)throw Error(o(280));var t=e.stateNode;t&&(t=xa(t),ke(e.stateNode,e.type,t))}}function Ae(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Ne(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,Ce(e),t)for(e=0;e<t.length;e++)Ce(t[e])}}function Pe(e,t){return e(t)}function je(){}var Oe=!1;function Ie(e,t,n){if(Oe)return e(t,n);Oe=!0;try{return Pe(e,t,n)}finally{Oe=!1,(null!==Se||null!==Ee)&&(je(),Ne())}}function Me(e,t){var n=e.stateNode;if(null===n)return null;var r=xa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(o(231,t,typeof n));return n}var Te=!1;if(c)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Te=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ce){Te=!1}function Re(e,t,n,r,a,o,l,i,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(c){this.onError(c)}}var De=!1,Fe=null,ze=!1,Ve=null,Ue={onError:function(e){De=!0,Fe=e}};function Be(e,t,n,r,a,o,l,i,u){De=!1,Fe=null,Re.apply(Ue,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Qe(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function He(e){if(Ke(e)!==e)throw Error(o(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var l=a.alternate;if(null===l){if(null!==(r=a.return)){n=r;continue}break}if(a.child===l.child){for(l=a.child;l;){if(l===n)return He(a),e;if(l===r)return He(a),t;l=l.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=l;else{for(var i=!1,u=a.child;u;){if(u===n){i=!0,n=a,r=l;break}if(u===r){i=!0,r=a,n=l;break}u=u.sibling}if(!i){for(u=l.child;u;){if(u===n){i=!0,n=l,r=a;break}if(u===r){i=!0,r=l,n=a;break}u=u.sibling}if(!i)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?Ge(e):null}function Ge(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ge(e);if(null!==t)return t;e=e.sibling}return null}var Je=a.unstable_scheduleCallback,Ye=a.unstable_cancelCallback,qe=a.unstable_shouldYield,Xe=a.unstable_requestPaint,Ze=a.unstable_now,_e=a.unstable_getCurrentPriorityLevel,$e=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null;var lt=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(it(e)/ut|0)|0},it=Math.log,ut=Math.LN2;var st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,l=268435455&n;if(0!==l){var i=l&~a;0!==i?r=ft(i):0!==(o&=l)&&(r=ft(o))}else 0!==(l=n&~a)?r=ft(l):0!==o&&(r=ft(o));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!==(4194240&o)))return t;if(0!==(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-lt(t)),r|=e[n],t&=~a;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function vt(){var e=st;return 0===(4194240&(st<<=1))&&(st=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function yt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-lt(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-lt(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!==(268435455&e)?16:536870912:4:1}var xt,kt,St,Et,Ct,At=!1,Nt=[],Pt=null,jt=null,Ot=null,It=new Map,Mt=new Map,Tt=[],Lt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Rt(e,t){switch(e){case"focusin":case"focusout":Pt=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Ot=null;break;case"pointerover":case"pointerout":It.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Mt.delete(t.pointerId)}}function Dt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=ba(t))&&kt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Ft(e){var t=ga(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Qe(n)))return e.blockedOn=t,void Ct(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ba(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function Vt(e,t,n){zt(e)&&n.delete(t)}function Ut(){At=!1,null!==Pt&&zt(Pt)&&(Pt=null),null!==jt&&zt(jt)&&(jt=null),null!==Ot&&zt(Ot)&&(Ot=null),It.forEach(Vt),Mt.forEach(Vt)}function Bt(e,t){e.blockedOn===t&&(e.blockedOn=null,At||(At=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,Ut)))}function Kt(e){function t(t){return Bt(t,e)}if(0<Nt.length){Bt(Nt[0],e);for(var n=1;n<Nt.length;n++){var r=Nt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Bt(Pt,e),null!==jt&&Bt(jt,e),null!==Ot&&Bt(Ot,e),It.forEach(t),Mt.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)Ft(n),null===n.blockedOn&&Tt.shift()}var Qt=w.ReactCurrentBatchConfig,Ht=!0;function Wt(e,t,n,r){var a=bt,o=Qt.transition;Qt.transition=null;try{bt=1,Jt(e,t,n,r)}finally{bt=a,Qt.transition=o}}function Gt(e,t,n,r){var a=bt,o=Qt.transition;Qt.transition=null;try{bt=4,Jt(e,t,n,r)}finally{bt=a,Qt.transition=o}}function Jt(e,t,n,r){if(Ht){var a=qt(e,t,n,r);if(null===a)Hr(e,t,r,Yt,n),Rt(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Pt=Dt(Pt,e,t,n,r,a),!0;case"dragenter":return jt=Dt(jt,e,t,n,r,a),!0;case"mouseover":return Ot=Dt(Ot,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return It.set(o,Dt(It.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Mt.set(o,Dt(Mt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(Rt(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==a;){var o=ba(a);if(null!==o&&xt(o),null===(o=qt(e,t,n,r))&&Hr(e,t,r,Yt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Yt=null;function qt(e,t,n,r){if(Yt=null,null!==(e=ga(e=xe(r))))if(null===(t=Ke(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Qe(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(_e()){case $e:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Zt=null,_t=null,$t=null;function en(){if($t)return $t;var e,t,n=_t,r=n.length,a="value"in Zt?Zt.value:Zt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var l=r-e;for(t=1;t<=l&&n[r-t]===a[o-t];t++);return $t=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var l in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(l)&&(t=e[l],this[l]=t?t(a):a[l]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),fn=F({},sn,{view:0,detail:0}),dn=an(fn),pn=F({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),hn=an(pn),vn=an(F({},pn,{dataTransfer:0})),mn=an(F({},fn,{relatedTarget:0})),yn=an(F({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=F({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=an(gn),wn=an(F({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var An=F({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Nn=an(An),Pn=an(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=an(F({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),On=an(F({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),In=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Mn=an(In),Tn=[9,13,27,32],Ln=c&&"CompositionEvent"in window,Rn=null;c&&"documentMode"in document&&(Rn=document.documentMode);var Dn=c&&"TextEvent"in window&&!Rn,Fn=c&&(!Ln||Rn&&8<Rn&&11>=Rn),zn=String.fromCharCode(32),Vn=!1;function Un(e,t){switch(e){case"keyup":return-1!==Tn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bn(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Kn=!1;var Qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Qn[e.type]:"textarea"===t}function Wn(e,t,n,r){Ae(r),0<(t=Gr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Gn=null,Jn=null;function Yn(e){zr(e,0)}function qn(e){if(J(wa(e)))return e}function Xn(e,t){if("change"===e)return t}var Zn=!1;if(c){var _n;if(c){var $n="oninput"in document;if(!$n){var er=document.createElement("div");er.setAttribute("oninput","return;"),$n="function"===typeof er.oninput}_n=$n}else _n=!1;Zn=_n&&(!document.documentMode||9<document.documentMode)}function tr(){Gn&&(Gn.detachEvent("onpropertychange",nr),Jn=Gn=null)}function nr(e){if("value"===e.propertyName&&qn(Jn)){var t=[];Wn(t,Jn,e,xe(e)),Ie(Yn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Jn=n,(Gn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Jn)}function or(e,t){if("click"===e)return qn(t)}function lr(e,t){if("input"===e||"change"===e)return qn(t)}var ir="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t};function ur(e,t){if(ir(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!f.call(t,a)||!ir(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=sr(r)}}function fr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function dr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=dr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&fr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var a=n.textContent.length,o=Math.min(r.start,a);r=void 0===r.end?o:Math.min(r.end,a),!e.extend&&o>r&&(a=r,r=o,o=a),a=cr(n,o);var l=cr(n,r);a&&l&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,mr=null,yr=null,gr=null,br=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Y(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&ur(gr,r)||(gr=r,0<(r=Gr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function xr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var kr={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},Er={};function Cr(e){if(Sr[e])return Sr[e];if(!kr[e])return e;var t,n=kr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return Sr[e]=n[t];return e}c&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Ar=Cr("animationend"),Nr=Cr("animationiteration"),Pr=Cr("animationstart"),jr=Cr("transitionend"),Or=new Map,Ir="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Mr(e,t){Or.set(e,t),u(t,[e])}for(var Tr=0;Tr<Ir.length;Tr++){var Lr=Ir[Tr];Mr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Mr(Ar,"onAnimationEnd"),Mr(Nr,"onAnimationIteration"),Mr(Pr,"onAnimationStart"),Mr("dblclick","onDoubleClick"),Mr("focusin","onFocus"),Mr("focusout","onBlur"),Mr(jr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,l,i,u,s){if(Be.apply(this,arguments),De){if(!De)throw Error(o(198));var c=Fe;De=!1,Fe=null,ze||(ze=!0,Ve=c)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var i=r[l],u=i.instance,s=i.currentTarget;if(i=i.listener,u!==o&&a.isPropagationStopped())break e;Fr(a,i,s),o=u}else for(l=0;l<r.length;l++){if(u=(i=r[l]).instance,s=i.currentTarget,i=i.listener,u!==o&&a.isPropagationStopped())break e;Fr(a,i,s),o=u}}}if(ze)throw e=Ve,ze=!1,Ve=null,e}function Vr(e,t){var n=t[va];void 0===n&&(n=t[va]=new Set);var r=e+"__bubble";n.has(r)||(Qr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Qr(n,e,r,t)}var Br="_reactListening"+Math.random().toString(36).slice(2);function Kr(e){if(!e[Br]){e[Br]=!0,l.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Br]||(t[Br]=!0,Ur("selectionchange",!1,t))}}function Qr(e,t,n,r){switch(Xt(t)){case 1:var a=Wt;break;case 4:a=Gt;break;default:a=Jt}n=a.bind(null,t,n,e),a=void 0,!Te||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var l=r.tag;if(3===l||4===l){var i=r.stateNode.containerInfo;if(i===a||8===i.nodeType&&i.parentNode===a)break;if(4===l)for(l=r.return;null!==l;){var u=l.tag;if((3===u||4===u)&&((u=l.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;l=l.return}for(;null!==i;){if(null===(l=ga(i)))return;if(5===(u=l.tag)||6===u){r=o=l;continue e}i=i.parentNode}}r=r.return}Ie((function(){var r=o,a=xe(n),l=[];e:{var i=Or.get(e);if(void 0!==i){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=Nn;break;case"focusin":s="focus",u=mn;break;case"focusout":s="blur",u=mn;break;case"beforeblur":case"afterblur":u=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=jn;break;case Ar:case Nr:case Pr:u=yn;break;case jr:u=On;break;case"scroll":u=dn;break;case"wheel":u=Mn;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Pn}var c=0!==(4&t),f=!c&&"scroll"===e,d=c?null!==i?i+"Capture":null:i;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==d&&(null!=(v=Me(h,d))&&c.push(Wr(h,v,p)))),f)break;h=h.return}0<c.length&&(i=new u(i,s,null,n,a),l.push({event:i,listeners:c}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(i="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!ga(s)&&!s[ha])&&(u||i)&&(i=a.window===a?a:(i=a.ownerDocument)?i.defaultView||i.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ga(s):null)&&(s!==(f=Ke(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=hn,v="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,v="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==u?i:wa(u),p=null==s?i:wa(s),(i=new c(v,h+"leave",u,n,a)).target=f,i.relatedTarget=p,v=null,ga(a)===r&&((c=new c(d,h+"enter",s,n,a)).target=p,c.relatedTarget=f,v=c),f=v,u&&s)e:{for(d=s,h=0,p=c=u;p;p=Jr(p))h++;for(p=0,v=d;v;v=Jr(v))p++;for(;0<h-p;)c=Jr(c),h--;for(;0<p-h;)d=Jr(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Jr(c),d=Jr(d)}c=null}else c=null;null!==u&&Yr(l,i,u,c,!1),null!==s&&null!==f&&Yr(l,f,s,c,!0)}if("select"===(u=(i=r?wa(r):window).nodeName&&i.nodeName.toLowerCase())||"input"===u&&"file"===i.type)var m=Xn;else if(Hn(i))if(Zn)m=lr;else{m=ar;var y=rr}else(u=i.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(m=or);switch(m&&(m=m(e,r))?Wn(l,m,n,a):(y&&y(e,i,r),"focusout"===e&&(y=i._wrapperState)&&y.controlled&&"number"===i.type&&ee(i,"number",i.value)),y=r?wa(r):window,e){case"focusin":(Hn(y)||"true"===y.contentEditable)&&(mr=y,yr=r,gr=null);break;case"focusout":gr=yr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,wr(l,n,a);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":wr(l,n,a)}var g;if(Ln)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Kn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Fn&&"ko"!==n.locale&&(Kn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Kn&&(g=en()):(_t="value"in(Zt=a)?Zt.value:Zt.textContent,Kn=!0)),0<(y=Gr(r,b)).length&&(b=new wn(b,e,null,n,a),l.push({event:b,listeners:y}),g?b.data=g:null!==(g=Bn(n))&&(b.data=g))),(g=Dn?function(e,t){switch(e){case"compositionend":return Bn(t);case"keypress":return 32!==t.which?null:(Vn=!0,zn);case"textInput":return(e=t.data)===zn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Kn)return"compositionend"===e||!Ln&&Un(e,t)?(e=en(),$t=_t=Zt=null,Kn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),l.push({event:a,listeners:r}),a.data=g))}zr(l,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=Me(e,n))&&r.unshift(Wr(e,o,a)),null!=(o=Me(e,t))&&r.push(Wr(e,o,a))),e=e.return}return r}function Jr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Yr(e,t,n,r,a){for(var o=t._reactName,l=[];null!==n&&n!==r;){var i=n,u=i.alternate,s=i.stateNode;if(null!==u&&u===r)break;5===i.tag&&null!==s&&(i=s,a?null!=(u=Me(n,o))&&l.unshift(Wr(n,u,i)):a||null!=(u=Me(n,o))&&l.push(Wr(n,u,i))),n=n.return}0!==l.length&&e.push({event:t,listeners:l})}var qr=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Zr(e){return("string"===typeof e?e:""+e).replace(qr,"\n").replace(Xr,"")}function _r(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(o(425))}function $r(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"===typeof setTimeout?setTimeout:void 0,aa="function"===typeof clearTimeout?clearTimeout:void 0,oa="function"===typeof Promise?Promise:void 0,la="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof oa?function(e){return oa.resolve(null).then(e).catch(ia)}:ra;function ia(e){setTimeout((function(){throw e}))}function ua(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType)if("/$"===(n=a.data)){if(0===r)return e.removeChild(a),void Kt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Kt(t)}function sa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fa=Math.random().toString(36).slice(2),da="__reactFiber$"+fa,pa="__reactProps$"+fa,ha="__reactContainer$"+fa,va="__reactEvents$"+fa,ma="__reactListeners$"+fa,ya="__reactHandles$"+fa;function ga(e){var t=e[da];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ha]||n[da]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[da])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ba(e){return!(e=e[da]||e[ha])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function xa(e){return e[pa]||null}var ka=[],Sa=-1;function Ea(e){return{current:e}}function Ca(e){0>Sa||(e.current=ka[Sa],ka[Sa]=null,Sa--)}function Aa(e,t){Sa++,ka[Sa]=e.current,e.current=t}var Na={},Pa=Ea(Na),ja=Ea(!1),Oa=Na;function Ia(e,t){var n=e.type.contextTypes;if(!n)return Na;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ma(e){return null!==(e=e.childContextTypes)&&void 0!==e}function Ta(){Ca(ja),Ca(Pa)}function La(e,t,n){if(Pa.current!==Na)throw Error(o(168));Aa(Pa,t),Aa(ja,n)}function Ra(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,Q(e)||"Unknown",a));return F({},n,r)}function Da(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Na,Oa=Pa.current,Aa(Pa,e),Aa(ja,ja.current),!0}function Fa(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Ra(e,t,Oa),r.__reactInternalMemoizedMergedChildContext=e,Ca(ja),Ca(Pa),Aa(Pa,e)):Ca(ja),Aa(ja,n)}var za=null,Va=!1,Ua=!1;function Ba(e){null===za?za=[e]:za.push(e)}function Ka(){if(!Ua&&null!==za){Ua=!0;var e=0,t=bt;try{var n=za;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}za=null,Va=!1}catch(a){throw null!==za&&(za=za.slice(e+1)),Je($e,Ka),a}finally{bt=t,Ua=!1}}return null}var Qa=[],Ha=0,Wa=null,Ga=0,Ja=[],Ya=0,qa=null,Xa=1,Za="";function _a(e,t){Qa[Ha++]=Ga,Qa[Ha++]=Wa,Wa=e,Ga=t}function $a(e,t,n){Ja[Ya++]=Xa,Ja[Ya++]=Za,Ja[Ya++]=qa,qa=e;var r=Xa;e=Za;var a=32-lt(r)-1;r&=~(1<<a),n+=1;var o=32-lt(t)+a;if(30<o){var l=a-a%5;o=(r&(1<<l)-1).toString(32),r>>=l,a-=l,Xa=1<<32-lt(t)+a|n<<a|r,Za=o+e}else Xa=1<<o|n<<a|r,Za=e}function eo(e){null!==e.return&&(_a(e,1),$a(e,1,0))}function to(e){for(;e===Wa;)Wa=Qa[--Ha],Qa[Ha]=null,Ga=Qa[--Ha],Qa[Ha]=null;for(;e===qa;)qa=Ja[--Ya],Ja[Ya]=null,Za=Ja[--Ya],Ja[Ya]=null,Xa=Ja[--Ya],Ja[Ya]=null}var no=null,ro=null,ao=!1,oo=null;function lo(e,t){var n=Ms(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function io(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qa?{id:Xa,overflow:Za}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ms(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!==(1&e.mode)&&0===(128&e.flags)}function so(e){if(ao){var t=ro;if(t){var n=t;if(!io(e,t)){if(uo(e))throw Error(o(418));t=sa(n.nextSibling);var r=no;t&&io(e,t)?lo(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)lo(e,t),t=sa(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?sa(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=sa(e.nextSibling)}function ho(){ro=no=null,ao=!1}function vo(e){null===oo?oo=[e]:oo.push(e)}var mo=w.ReactCurrentBatchConfig;function yo(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var go=Ea(null),bo=null,wo=null,xo=null;function ko(){xo=wo=bo=null}function So(e){var t=go.current;Ca(go),e._currentValue=t}function Eo(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Co(e,t){bo=e,xo=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(wi=!0),e.firstContext=null)}function Ao(e){var t=e._currentValue;if(xo!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===bo)throw Error(o(308));wo=e,bo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var No=null;function Po(e){null===No?No=[e]:No.push(e)}function jo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Po(t)):(n.next=a.next,a.next=n),t.interleaved=n,Oo(e,r)}function Oo(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Io=!1;function Mo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function To(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Lo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ro(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&ju)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Oo(e,n)}return null===(a=r.interleaved)?(t.next=t,Po(r)):(t.next=a.next,a.next=t),r.interleaved=t,Oo(e,n)}function Do(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!==(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Fo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=l:o=o.next=l,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function zo(e,t,n,r){var a=e.updateQueue;Io=!1;var o=a.firstBaseUpdate,l=a.lastBaseUpdate,i=a.shared.pending;if(null!==i){a.shared.pending=null;var u=i,s=u.next;u.next=null,null===l?o=s:l.next=s,l=u;var c=e.alternate;null!==c&&((i=(c=c.updateQueue).lastBaseUpdate)!==l&&(null===i?c.firstBaseUpdate=s:i.next=s,c.lastBaseUpdate=u))}if(null!==o){var f=a.baseState;for(l=0,c=s=u=null,i=o;;){var d=i.lane,p=i.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var h=e,v=i;switch(d=t,p=n,v.tag){case 1:if("function"===typeof(h=v.payload)){f=h.call(p,f,d);break e}f=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null===(d="function"===typeof(h=v.payload)?h.call(p,f,d):h)||void 0===d)break e;f=F({},f,d);break e;case 2:Io=!0}}null!==i.callback&&0!==i.lane&&(e.flags|=64,null===(d=a.effects)?a.effects=[i]:d.push(i))}else p={eventTime:p,lane:d,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,l|=d;if(null===(i=i.next)){if(null===(i=a.shared.pending))break;i=(d=i).next,d.next=null,a.lastBaseUpdate=d,a.shared.pending=null}}if(null===c&&(u=f),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{l|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Fu|=l,e.lanes=l,e.memoizedState=f}}function Vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(o(191,a));a.call(r)}}}var Uo=(new r.Component).refs;function Bo(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ko={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),a=ns(e),o=Lo(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Ro(e,o,a))&&(rs(t,e,a,r),Do(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),a=ns(e),o=Lo(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),null!==(t=Ro(e,o,a))&&(rs(t,e,a,r),Do(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),a=Lo(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),null!==(t=Ro(e,a,r))&&(rs(t,e,r,n),Do(t,e,r))}};function Qo(e,t,n,r,a,o,l){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,l):!t.prototype||!t.prototype.isPureReactComponent||(!ur(n,r)||!ur(a,o))}function Ho(e,t,n){var r=!1,a=Na,o=t.contextType;return"object"===typeof o&&null!==o?o=Ao(o):(a=Ma(t)?Oa:Pa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?Ia(e,a):Na),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ko,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Wo(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ko.enqueueReplaceState(t,t.state,null)}function Go(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Uo,Mo(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=Ao(o):(o=Ma(t)?Oa:Pa.current,a.context=Ia(e,o)),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(Bo(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&Ko.enqueueReplaceState(a,a.state,null),zo(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4194308)}function Jo(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,l=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===l?t.ref:(t=function(e){var t=a.refs;t===Uo&&(t=a.refs={}),null===e?delete t[l]:t[l]=e},t._stringRef=l,t)}if("string"!==typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Yo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qo(e){return(0,e._init)(e._payload)}function Xo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ls(e,t)).index=0,e.sibling=null,e}function l(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function i(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=zs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"===typeof o&&null!==o&&o.$$typeof===M&&qo(o)===t.type)?((r=a(t,n.props)).ref=Jo(e,t,n),r.return=e,r):((r=Rs(n.type,n.key,n.props,null,e.mode,r)).ref=Jo(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Vs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function f(e,t,n,r,o){return null===t||7!==t.tag?((t=Ds(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function d(e,t,n){if("string"===typeof t&&""!==t||"number"===typeof t)return(t=zs(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Rs(t.type,t.key,t.props,null,e.mode,n)).ref=Jo(e,null,t),n.return=e,n;case k:return(t=Vs(t,e.mode,n)).return=e,t;case M:return d(e,(0,t._init)(t._payload),n)}if(te(t)||R(t))return(t=Ds(t,e.mode,n,null)).return=e,t;Yo(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==a?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===a?s(e,t,n,r):null;case k:return n.key===a?c(e,t,n,r):null;case M:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||R(n))return null!==a?null:f(e,t,n,r,null);Yo(e,n)}return null}function h(e,t,n,r,a){if("string"===typeof r&&""!==r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case M:return h(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||R(r))return f(t,e=e.get(n)||null,r,a,null);Yo(t,r)}return null}function v(a,o,i,u){for(var s=null,c=null,f=o,v=o=0,m=null;null!==f&&v<i.length;v++){f.index>v?(m=f,f=null):m=f.sibling;var y=p(a,f,i[v],u);if(null===y){null===f&&(f=m);break}e&&f&&null===y.alternate&&t(a,f),o=l(y,o,v),null===c?s=y:c.sibling=y,c=y,f=m}if(v===i.length)return n(a,f),ao&&_a(a,v),s;if(null===f){for(;v<i.length;v++)null!==(f=d(a,i[v],u))&&(o=l(f,o,v),null===c?s=f:c.sibling=f,c=f);return ao&&_a(a,v),s}for(f=r(a,f);v<i.length;v++)null!==(m=h(f,a,v,i[v],u))&&(e&&null!==m.alternate&&f.delete(null===m.key?v:m.key),o=l(m,o,v),null===c?s=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return t(a,e)})),ao&&_a(a,v),s}function m(a,i,u,s){var c=R(u);if("function"!==typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var f=c=null,v=i,m=i=0,y=null,g=u.next();null!==v&&!g.done;m++,g=u.next()){v.index>m?(y=v,v=null):y=v.sibling;var b=p(a,v,g.value,s);if(null===b){null===v&&(v=y);break}e&&v&&null===b.alternate&&t(a,v),i=l(b,i,m),null===f?c=b:f.sibling=b,f=b,v=y}if(g.done)return n(a,v),ao&&_a(a,m),c;if(null===v){for(;!g.done;m++,g=u.next())null!==(g=d(a,g.value,s))&&(i=l(g,i,m),null===f?c=g:f.sibling=g,f=g);return ao&&_a(a,m),c}for(v=r(a,v);!g.done;m++,g=u.next())null!==(g=h(v,a,m,g.value,s))&&(e&&null!==g.alternate&&v.delete(null===g.key?m:g.key),i=l(g,i,m),null===f?c=g:f.sibling=g,f=g);return e&&v.forEach((function(e){return t(a,e)})),ao&&_a(a,m),c}return function e(r,o,l,u){if("object"===typeof l&&null!==l&&l.type===S&&null===l.key&&(l=l.props.children),"object"===typeof l&&null!==l){switch(l.$$typeof){case x:e:{for(var s=l.key,c=o;null!==c;){if(c.key===s){if((s=l.type)===S){if(7===c.tag){n(r,c.sibling),(o=a(c,l.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"===typeof s&&null!==s&&s.$$typeof===M&&qo(s)===c.type){n(r,c.sibling),(o=a(c,l.props)).ref=Jo(r,c,l),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}l.type===S?((o=Ds(l.props.children,r.mode,u,l.key)).return=r,r=o):((u=Rs(l.type,l.key,l.props,null,r.mode,u)).ref=Jo(r,o,l),u.return=r,r=u)}return i(r);case k:e:{for(c=l.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===l.containerInfo&&o.stateNode.implementation===l.implementation){n(r,o.sibling),(o=a(o,l.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=Vs(l,r.mode,u)).return=r,r=o}return i(r);case M:return e(r,o,(c=l._init)(l._payload),u)}if(te(l))return v(r,o,l,u);if(R(l))return m(r,o,l,u);Yo(r,l)}return"string"===typeof l&&""!==l||"number"===typeof l?(l=""+l,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,l)).return=r,r=o):(n(r,o),(o=zs(l,r.mode,u)).return=r,r=o),i(r)):n(r,o)}}var Zo=Xo(!0),_o=Xo(!1),$o={},el=Ea($o),tl=Ea($o),nl=Ea($o);function rl(e){if(e===$o)throw Error(o(174));return e}function al(e,t){switch(Aa(nl,t),Aa(tl,e),Aa(el,$o),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ca(el),Aa(el,t)}function ol(){Ca(el),Ca(tl),Ca(nl)}function ll(e){rl(nl.current);var t=rl(el.current),n=ue(t,e.type);t!==n&&(Aa(tl,e),Aa(el,n))}function il(e){tl.current===e&&(Ca(el),Ca(tl))}var ul=Ea(0);function sl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cl=[];function fl(){for(var e=0;e<cl.length;e++)cl[e]._workInProgressVersionPrimary=null;cl.length=0}var dl=w.ReactCurrentDispatcher,pl=w.ReactCurrentBatchConfig,hl=0,vl=null,ml=null,yl=null,gl=!1,bl=!1,wl=0,xl=0;function kl(){throw Error(o(321))}function Sl(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ir(e[n],t[n]))return!1;return!0}function El(e,t,n,r,a,l){if(hl=l,vl=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,dl.current=null===e||null===e.memoizedState?ii:ui,e=n(r,a),bl){l=0;do{if(bl=!1,wl=0,25<=l)throw Error(o(301));l+=1,yl=ml=null,t.updateQueue=null,dl.current=si,e=n(r,a)}while(bl)}if(dl.current=li,t=null!==ml&&null!==ml.next,hl=0,yl=ml=vl=null,gl=!1,t)throw Error(o(300));return e}function Cl(){var e=0!==wl;return wl=0,e}function Al(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yl?vl.memoizedState=yl=e:yl=yl.next=e,yl}function Nl(){if(null===ml){var e=vl.alternate;e=null!==e?e.memoizedState:null}else e=ml.next;var t=null===yl?vl.memoizedState:yl.next;if(null!==t)yl=t,ml=e;else{if(null===e)throw Error(o(310));e={memoizedState:(ml=e).memoizedState,baseState:ml.baseState,baseQueue:ml.baseQueue,queue:ml.queue,next:null},null===yl?vl.memoizedState=yl=e:yl=yl.next=e}return yl}function Pl(e,t){return"function"===typeof t?t(e):t}function jl(e){var t=Nl(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=ml,a=r.baseQueue,l=n.pending;if(null!==l){if(null!==a){var i=a.next;a.next=l.next,l.next=i}r.baseQueue=a=l,n.pending=null}if(null!==a){l=a.next,r=r.baseState;var u=i=null,s=null,c=l;do{var f=c.lane;if((hl&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,i=r):s=s.next=d,vl.lanes|=f,Fu|=f}c=c.next}while(null!==c&&c!==l);null===s?i=r:s.next=u,ir(r,t.memoizedState)||(wi=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{l=a.lane,vl.lanes|=l,Fu|=l,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ol(e){var t=Nl(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,l=t.memoizedState;if(null!==a){n.pending=null;var i=a=a.next;do{l=e(l,i.action),i=i.next}while(i!==a);ir(l,t.memoizedState)||(wi=!0),t.memoizedState=l,null===t.baseQueue&&(t.baseState=l),n.lastRenderedState=l}return[l,r]}function Il(){}function Ml(e,t){var n=vl,r=Nl(),a=t(),l=!ir(r.memoizedState,a);if(l&&(r.memoizedState=a,wi=!0),r=r.queue,Hl(Rl.bind(null,n,r,e),[e]),r.getSnapshot!==t||l||null!==yl&&1&yl.memoizedState.tag){if(n.flags|=2048,Vl(9,Ll.bind(null,n,r,a,t),void 0,null),null===Ou)throw Error(o(349));0!==(30&hl)||Tl(n,t,a)}return a}function Tl(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vl.updateQueue)?(t={lastEffect:null,stores:null},vl.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ll(e,t,n,r){t.value=n,t.getSnapshot=r,Dl(t)&&Fl(e)}function Rl(e,t,n){return n((function(){Dl(t)&&Fl(e)}))}function Dl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ir(e,n)}catch(r){return!0}}function Fl(e){var t=Oo(e,1);null!==t&&rs(t,e,1,-1)}function zl(e){var t=Al();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pl,lastRenderedState:e},t.queue=e,e=e.dispatch=ni.bind(null,vl,e),[t.memoizedState,e]}function Vl(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vl.updateQueue)?(t={lastEffect:null,stores:null},vl.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ul(){return Nl().memoizedState}function Bl(e,t,n,r){var a=Al();vl.flags|=e,a.memoizedState=Vl(1|t,n,void 0,void 0===r?null:r)}function Kl(e,t,n,r){var a=Nl();r=void 0===r?null:r;var o=void 0;if(null!==ml){var l=ml.memoizedState;if(o=l.destroy,null!==r&&Sl(r,l.deps))return void(a.memoizedState=Vl(t,n,o,r))}vl.flags|=e,a.memoizedState=Vl(1|t,n,o,r)}function Ql(e,t){return Bl(8390656,8,e,t)}function Hl(e,t){return Kl(2048,8,e,t)}function Wl(e,t){return Kl(4,2,e,t)}function Gl(e,t){return Kl(4,4,e,t)}function Jl(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Yl(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Kl(4,4,Jl.bind(null,t,e),n)}function ql(){}function Xl(e,t){var n=Nl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sl(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zl(e,t){var n=Nl();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Sl(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function _l(e,t,n){return 0===(21&hl)?(e.baseState&&(e.baseState=!1,wi=!0),e.memoizedState=n):(ir(n,t)||(n=vt(),vl.lanes|=n,Fu|=n,e.baseState=!0),t)}function $l(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pl.transition;pl.transition={};try{e(!1),t()}finally{bt=n,pl.transition=r}}function ei(){return Nl().memoizedState}function ti(e,t,n){var r=ns(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ri(e))ai(t,n);else if(null!==(n=jo(e,t,n,r))){rs(n,e,r,ts()),oi(n,t,r)}}function ni(e,t,n){var r=ns(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ri(e))ai(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var l=t.lastRenderedState,i=o(l,n);if(a.hasEagerState=!0,a.eagerState=i,ir(i,l)){var u=t.interleaved;return null===u?(a.next=a,Po(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(s){}null!==(n=jo(e,t,a,r))&&(rs(n,e,r,a=ts()),oi(n,t,r))}}function ri(e){var t=e.alternate;return e===vl||null!==t&&t===vl}function ai(e,t){bl=gl=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function oi(e,t,n){if(0!==(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var li={readContext:Ao,useCallback:kl,useContext:kl,useEffect:kl,useImperativeHandle:kl,useInsertionEffect:kl,useLayoutEffect:kl,useMemo:kl,useReducer:kl,useRef:kl,useState:kl,useDebugValue:kl,useDeferredValue:kl,useTransition:kl,useMutableSource:kl,useSyncExternalStore:kl,useId:kl,unstable_isNewReconciler:!1},ii={readContext:Ao,useCallback:function(e,t){return Al().memoizedState=[e,void 0===t?null:t],e},useContext:Ao,useEffect:Ql,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,Bl(4194308,4,Jl.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Bl(4194308,4,e,t)},useInsertionEffect:function(e,t){return Bl(4,2,e,t)},useMemo:function(e,t){var n=Al();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Al();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ti.bind(null,vl,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Al().memoizedState=e},useState:zl,useDebugValue:ql,useDeferredValue:function(e){return Al().memoizedState=e},useTransition:function(){var e=zl(!1),t=e[0];return e=$l.bind(null,e[1]),Al().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vl,a=Al();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Ou)throw Error(o(349));0!==(30&hl)||Tl(r,t,n)}a.memoizedState=n;var l={value:n,getSnapshot:t};return a.queue=l,Ql(Rl.bind(null,r,l,e),[e]),r.flags|=2048,Vl(9,Ll.bind(null,r,l,n,t),void 0,null),n},useId:function(){var e=Al(),t=Ou.identifierPrefix;if(ao){var n=Za;t=":"+t+"R"+(n=(Xa&~(1<<32-lt(Xa)-1)).toString(32)+n),0<(n=wl++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=xl++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ui={readContext:Ao,useCallback:Xl,useContext:Ao,useEffect:Hl,useImperativeHandle:Yl,useInsertionEffect:Wl,useLayoutEffect:Gl,useMemo:Zl,useReducer:jl,useRef:Ul,useState:function(){return jl(Pl)},useDebugValue:ql,useDeferredValue:function(e){return _l(Nl(),ml.memoizedState,e)},useTransition:function(){return[jl(Pl)[0],Nl().memoizedState]},useMutableSource:Il,useSyncExternalStore:Ml,useId:ei,unstable_isNewReconciler:!1},si={readContext:Ao,useCallback:Xl,useContext:Ao,useEffect:Hl,useImperativeHandle:Yl,useInsertionEffect:Wl,useLayoutEffect:Gl,useMemo:Zl,useReducer:Ol,useRef:Ul,useState:function(){return Ol(Pl)},useDebugValue:ql,useDeferredValue:function(e){var t=Nl();return null===ml?t.memoizedState=e:_l(t,ml.memoizedState,e)},useTransition:function(){return[Ol(Pl)[0],Nl().memoizedState]},useMutableSource:Il,useSyncExternalStore:Ml,useId:ei,unstable_isNewReconciler:!1};function ci(e,t){try{var n="",r=t;do{n+=B(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a,digest:null}}function fi(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function di(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var pi="function"===typeof WeakMap?WeakMap:Map;function hi(e,t,n){(n=Lo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wu||(Wu=!0,Gu=r),di(0,t)},n}function vi(e,t,n){(n=Lo(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return r(a)},n.callback=function(){di(0,t)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){di(0,t),"function"!==typeof r&&(null===Ju?Ju=new Set([this]):Ju.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function mi(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pi;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(a.add(n),e=As.bind(null,e,t,n),t.then(e,e))}function yi(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gi(e,t,n,r,a){return 0===(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Lo(-1,1)).tag=2,Ro(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var bi=w.ReactCurrentOwner,wi=!1;function xi(e,t,n,r){t.child=null===e?_o(t,null,n,r):Zo(t,e.child,n,r)}function ki(e,t,n,r,a){n=n.render;var o=t.ref;return Co(t,a),r=El(e,t,n,r,o,a),n=Cl(),null===e||wi?(ao&&n&&eo(t),t.flags|=1,xi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wi(e,t,a))}function Si(e,t,n,r,a){if(null===e){var o=n.type;return"function"!==typeof o||Ts(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Rs(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ei(e,t,o,r,a))}if(o=e.child,0===(e.lanes&a)){var l=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(l,r)&&e.ref===t.ref)return Wi(e,t,a)}return t.flags|=1,(e=Ls(o,r)).ref=t.ref,e.return=t,t.child=e}function Ei(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(wi=!1,t.pendingProps=r=o,0===(e.lanes&a))return t.lanes=e.lanes,Wi(e,t,a);0!==(131072&e.flags)&&(wi=!0)}}return Ni(e,t,n,r,a)}function Ci(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0===(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Aa(Lu,Tu),Tu|=n;else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Aa(Lu,Tu),Tu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Aa(Lu,Tu),Tu|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Aa(Lu,Tu),Tu|=r;return xi(e,t,a,n),t.child}function Ai(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ni(e,t,n,r,a){var o=Ma(n)?Oa:Pa.current;return o=Ia(t,o),Co(t,a),n=El(e,t,n,r,o,a),r=Cl(),null===e||wi?(ao&&r&&eo(t),t.flags|=1,xi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Wi(e,t,a))}function Pi(e,t,n,r,a){if(Ma(n)){var o=!0;Da(t)}else o=!1;if(Co(t,a),null===t.stateNode)Hi(e,t),Ho(t,n,r),Go(t,n,r,a),r=!0;else if(null===e){var l=t.stateNode,i=t.memoizedProps;l.props=i;var u=l.context,s=n.contextType;"object"===typeof s&&null!==s?s=Ao(s):s=Ia(t,s=Ma(n)?Oa:Pa.current);var c=n.getDerivedStateFromProps,f="function"===typeof c||"function"===typeof l.getSnapshotBeforeUpdate;f||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==r||u!==s)&&Wo(t,l,r,s),Io=!1;var d=t.memoizedState;l.state=d,zo(t,r,l,a),u=t.memoizedState,i!==r||d!==u||ja.current||Io?("function"===typeof c&&(Bo(t,n,c,r),u=t.memoizedState),(i=Io||Qo(t,n,i,r,d,u,s))?(f||"function"!==typeof l.UNSAFE_componentWillMount&&"function"!==typeof l.componentWillMount||("function"===typeof l.componentWillMount&&l.componentWillMount(),"function"===typeof l.UNSAFE_componentWillMount&&l.UNSAFE_componentWillMount()),"function"===typeof l.componentDidMount&&(t.flags|=4194308)):("function"===typeof l.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),l.props=r,l.state=u,l.context=s,r=i):("function"===typeof l.componentDidMount&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,To(e,t),i=t.memoizedProps,s=t.type===t.elementType?i:yo(t.type,i),l.props=s,f=t.pendingProps,d=l.context,"object"===typeof(u=n.contextType)&&null!==u?u=Ao(u):u=Ia(t,u=Ma(n)?Oa:Pa.current);var p=n.getDerivedStateFromProps;(c="function"===typeof p||"function"===typeof l.getSnapshotBeforeUpdate)||"function"!==typeof l.UNSAFE_componentWillReceiveProps&&"function"!==typeof l.componentWillReceiveProps||(i!==f||d!==u)&&Wo(t,l,r,u),Io=!1,d=t.memoizedState,l.state=d,zo(t,r,l,a);var h=t.memoizedState;i!==f||d!==h||ja.current||Io?("function"===typeof p&&(Bo(t,n,p,r),h=t.memoizedState),(s=Io||Qo(t,n,s,r,d,h,u)||!1)?(c||"function"!==typeof l.UNSAFE_componentWillUpdate&&"function"!==typeof l.componentWillUpdate||("function"===typeof l.componentWillUpdate&&l.componentWillUpdate(r,h,u),"function"===typeof l.UNSAFE_componentWillUpdate&&l.UNSAFE_componentWillUpdate(r,h,u)),"function"===typeof l.componentDidUpdate&&(t.flags|=4),"function"===typeof l.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),l.props=r,l.state=h,l.context=u,r=s):("function"!==typeof l.componentDidUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!==typeof l.getSnapshotBeforeUpdate||i===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return ji(e,t,n,r,o,a)}function ji(e,t,n,r,a,o){Ai(e,t);var l=0!==(128&t.flags);if(!r&&!l)return a&&Fa(t,n,!1),Wi(e,t,o);r=t.stateNode,bi.current=t;var i=l&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&l?(t.child=Zo(t,e.child,null,o),t.child=Zo(t,null,i,o)):xi(e,t,i,o),t.memoizedState=r.state,a&&Fa(t,n,!0),t.child}function Oi(e){var t=e.stateNode;t.pendingContext?La(0,t.pendingContext,t.pendingContext!==t.context):t.context&&La(0,t.context,!1),al(e,t.containerInfo)}function Ii(e,t,n,r,a){return ho(),vo(a),t.flags|=256,xi(e,t,n,r),t.child}var Mi,Ti,Li,Ri,Di={dehydrated:null,treeContext:null,retryLane:0};function Fi(e){return{baseLanes:e,cachePool:null,transitions:null}}function zi(e,t,n){var r,a=t.pendingProps,l=ul.current,i=!1,u=0!==(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!==(2&l)),r?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(l|=1),Aa(ul,1&l),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0===(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,i?(a=t.mode,i=t.child,u={mode:"hidden",children:u},0===(1&a)&&null!==i?(i.childLanes=0,i.pendingProps=u):i=Fs(u,a,0,null),e=Ds(e,a,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Fi(n),t.memoizedState=Di,e):Vi(t,u));if(null!==(l=e.memoizedState)&&null!==(r=l.dehydrated))return function(e,t,n,r,a,l,i){if(n)return 256&t.flags?(t.flags&=-257,Ui(e,t,i,r=fi(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(l=r.fallback,a=t.mode,r=Fs({mode:"visible",children:r.children},a,0,null),(l=Ds(l,a,i,null)).flags|=2,r.return=t,l.return=t,r.sibling=l,t.child=r,0!==(1&t.mode)&&Zo(t,e.child,null,i),t.child.memoizedState=Fi(i),t.memoizedState=Di,l);if(0===(1&t.mode))return Ui(e,t,i,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,Ui(e,t,i,r=fi(l=Error(o(419)),r,void 0))}if(u=0!==(i&e.childLanes),wi||u){if(null!==(r=Ou)){switch(i&-i){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!==(a&(r.suspendedLanes|i))?0:a)&&a!==l.retryLane&&(l.retryLane=a,Oo(e,a),rs(r,e,a,-1))}return ms(),Ui(e,t,i,r=fi(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ps.bind(null,e),a._reactRetry=t,null):(e=l.treeContext,ro=sa(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&(Ja[Ya++]=Xa,Ja[Ya++]=Za,Ja[Ya++]=qa,Xa=e.id,Za=e.overflow,qa=t),t=Vi(t,r.children),t.flags|=4096,t)}(e,t,u,a,r,l,n);if(i){i=a.fallback,u=t.mode,r=(l=e.child).sibling;var s={mode:"hidden",children:a.children};return 0===(1&u)&&t.child!==l?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Ls(l,s)).subtreeFlags=14680064&l.subtreeFlags,null!==r?i=Ls(r,i):(i=Ds(i,u,n,null)).flags|=2,i.return=t,a.return=t,a.sibling=i,t.child=a,a=i,i=t.child,u=null===(u=e.child.memoizedState)?Fi(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~n,t.memoizedState=Di,a}return e=(i=e.child).sibling,a=Ls(i,{mode:"visible",children:a.children}),0===(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function Vi(e,t){return(t=Fs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ui(e,t,n,r){return null!==r&&vo(r),Zo(t,e.child,null,n),(e=Vi(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bi(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Eo(e.return,t,n)}function Ki(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Qi(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(xi(e,t,r.children,n),0!==(2&(r=ul.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!==(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Bi(e,n,t);else if(19===e.tag)Bi(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Aa(ul,r),0===(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===sl(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Ki(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===sl(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Ki(t,!0,n,null,o);break;case"together":Ki(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hi(e,t){0===(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Wi(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fu|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ls(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ls(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Gi(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ji(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=14680064&a.subtreeFlags,r|=14680064&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Yi(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ji(t),null;case 1:case 17:return Ma(t.type)&&Ta(),Ji(t),null;case 3:return r=t.stateNode,ol(),Ca(ja),Ca(Pa),fl(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0===(256&t.flags)||(t.flags|=1024,null!==oo&&(is(oo),oo=null))),Ti(e,t),Ji(t),null;case 5:il(t);var a=rl(nl.current);if(n=t.type,null!==e&&null!=t.stateNode)Li(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return Ji(t),null}if(e=rl(el.current),fo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[da]=t,r[pa]=l,e=0!==(1&t.mode),n){case"dialog":Vr("cancel",r),Vr("close",r);break;case"iframe":case"object":case"embed":Vr("load",r);break;case"video":case"audio":for(a=0;a<Rr.length;a++)Vr(Rr[a],r);break;case"source":Vr("error",r);break;case"img":case"image":case"link":Vr("error",r),Vr("load",r);break;case"details":Vr("toggle",r);break;case"input":X(r,l),Vr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Vr("invalid",r);break;case"textarea":ae(r,l),Vr("invalid",r)}for(var u in ge(n,l),a=null,l)if(l.hasOwnProperty(u)){var s=l[u];"children"===u?"string"===typeof s?r.textContent!==s&&(!0!==l.suppressHydrationWarning&&_r(r.textContent,s,e),a=["children",s]):"number"===typeof s&&r.textContent!==""+s&&(!0!==l.suppressHydrationWarning&&_r(r.textContent,s,e),a=["children",""+s]):i.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&Vr("scroll",r)}switch(n){case"input":G(r),$(r,l,!0);break;case"textarea":G(r),le(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=$r)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ie(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[da]=t,e[pa]=r,Mi(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":Vr("cancel",e),Vr("close",e),a=r;break;case"iframe":case"object":case"embed":Vr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Rr.length;a++)Vr(Rr[a],e);a=r;break;case"source":Vr("error",e),a=r;break;case"img":case"image":case"link":Vr("error",e),Vr("load",e),a=r;break;case"details":Vr("toggle",e),a=r;break;case"input":X(e,r),a=q(e,r),Vr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=F({},r,{value:void 0}),Vr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),Vr("invalid",e)}for(l in ge(n,a),s=a)if(s.hasOwnProperty(l)){var c=s[l];"style"===l?me(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===l?"string"===typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"===typeof c&&de(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(i.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Vr("scroll",e):null!=c&&b(e,l,c,u))}switch(n){case"input":G(e),$(e,r,!1);break;case"textarea":G(e),le(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ne(e,!!r.multiple,l,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof a.onClick&&(e.onclick=$r)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ji(t),null;case 6:if(e&&null!=t.stateNode)Ri(e,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(o(166));if(n=rl(nl.current),rl(el.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[da]=t,(l=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:_r(r.nodeValue,n,0!==(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&_r(r.nodeValue,n,0!==(1&e.mode))}l&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[da]=t,t.stateNode=r}return Ji(t),null;case 13:if(Ca(ul),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!==(1&t.mode)&&0===(128&t.flags))po(),ho(),t.flags|=98560,l=!1;else if(l=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!l)throw Error(o(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(o(317));l[da]=t}else ho(),0===(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ji(t),l=!1}else null!==oo&&(is(oo),oo=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!==(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!==(1&t.mode)&&(null===e||0!==(1&ul.current)?0===Ru&&(Ru=3):ms())),null!==t.updateQueue&&(t.flags|=4),Ji(t),null);case 4:return ol(),Ti(e,t),null===e&&Kr(t.stateNode.containerInfo),Ji(t),null;case 10:return So(t.type._context),Ji(t),null;case 19:if(Ca(ul),null===(l=t.memoizedState))return Ji(t),null;if(r=0!==(128&t.flags),null===(u=l.rendering))if(r)Gi(l,!1);else{if(0!==Ru||null!==e&&0!==(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=sl(e))){for(t.flags|=128,Gi(l,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=14680066,null===(u=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=u.childLanes,l.lanes=u.lanes,l.child=u.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=u.memoizedProps,l.memoizedState=u.memoizedState,l.updateQueue=u.updateQueue,l.type=u.type,e=u.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Aa(ul,1&ul.current|2),t.child}e=e.sibling}null!==l.tail&&Ze()>Qu&&(t.flags|=128,r=!0,Gi(l,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=sl(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Gi(l,!0),null===l.tail&&"hidden"===l.tailMode&&!u.alternate&&!ao)return Ji(t),null}else 2*Ze()-l.renderingStartTime>Qu&&1073741824!==n&&(t.flags|=128,r=!0,Gi(l,!1),t.lanes=4194304);l.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=l.last)?n.sibling=u:t.child=u,l.last=u)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ze(),t.sibling=null,n=ul.current,Aa(ul,r?1&n|2:1&n),t):(Ji(t),null);case 22:case 23:return ds(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!==(1&t.mode)?0!==(1073741824&Tu)&&(Ji(t),6&t.subtreeFlags&&(t.flags|=8192)):Ji(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function qi(e,t){switch(to(t),t.tag){case 1:return Ma(t.type)&&Ta(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ol(),Ca(ja),Ca(Pa),fl(),0!==(65536&(e=t.flags))&&0===(128&e)?(t.flags=-65537&e|128,t):null;case 5:return il(t),null;case 13:if(Ca(ul),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));ho()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ca(ul),null;case 4:return ol(),null;case 10:return So(t.type._context),null;case 22:case 23:return ds(),null;default:return null}}Mi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ti=function(){},Li=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,rl(el.current);var o,l=null;switch(n){case"input":a=q(e,a),r=q(e,r),l=[];break;case"select":a=F({},a,{value:void 0}),r=F({},r,{value:void 0}),l=[];break;case"textarea":a=re(e,a),r=re(e,r),l=[];break;default:"function"!==typeof a.onClick&&"function"===typeof r.onClick&&(e.onclick=$r)}for(c in ge(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(i.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(l||(l=[]),l.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(l=l||[]).push(c,s)):"children"===c?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(i.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&Vr("scroll",e),l||u===s||(l=[])):(l=l||[]).push(c,s))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Ri=function(e,t,n,r){n!==r&&(t.flags|=4)};var Xi=!1,Zi=!1,_i="function"===typeof WeakSet?WeakSet:Set,$i=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){Cs(e,t,r)}else n.current=null}function tu(e,t,n){try{n()}catch(r){Cs(e,t,r)}}var nu=!1;function ru(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var a=r=r.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,void 0!==o&&tu(t,n,o)}a=a.next}while(a!==r)}}function au(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ou(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"===typeof t?t(e):t.current=e}}function lu(e){var t=e.alternate;null!==t&&(e.alternate=null,lu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[da],delete t[pa],delete t[va],delete t[ma],delete t[ya])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function iu(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||iu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function su(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=$r));else if(4!==r&&null!==(e=e.child))for(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var fu=null,du=!1;function pu(e,t,n){for(n=n.child;null!==n;)hu(e,t,n),n=n.sibling}function hu(e,t,n){if(ot&&"function"===typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(i){}switch(n.tag){case 5:Zi||eu(n,t);case 6:var r=fu,a=du;fu=null,pu(e,t,n),du=a,null!==(fu=r)&&(du?(e=fu,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):fu.removeChild(n.stateNode));break;case 18:null!==fu&&(du?(e=fu,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Kt(e)):ua(fu,n.stateNode));break;case 4:r=fu,a=du,fu=n.stateNode.containerInfo,du=!0,pu(e,t,n),fu=r,du=a;break;case 0:case 11:case 14:case 15:if(!Zi&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){a=r=r.next;do{var o=a,l=o.destroy;o=o.tag,void 0!==l&&(0!==(2&o)||0!==(4&o))&&tu(n,t,l),a=a.next}while(a!==r)}pu(e,t,n);break;case 1:if(!Zi&&(eu(n,t),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){Cs(n,t,i)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Zi=(r=Zi)||null!==n.memoizedState,pu(e,t,n),Zi=r):pu(e,t,n);break;default:pu(e,t,n)}}function vu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new _i),t.forEach((function(t){var r=js.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function mu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var l=e,i=t,u=i;e:for(;null!==u;){switch(u.tag){case 5:fu=u.stateNode,du=!1;break e;case 3:case 4:fu=u.stateNode.containerInfo,du=!0;break e}u=u.return}if(null===fu)throw Error(o(160));hu(l,i,a),fu=null,du=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(c){Cs(a,t,c)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(mu(t,e),gu(e),4&r){try{ru(3,e,e.return),au(3,e)}catch(m){Cs(e,e.return,m)}try{ru(5,e,e.return)}catch(m){Cs(e,e.return,m)}}break;case 1:mu(t,e),gu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(mu(t,e),gu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var a=e.stateNode;try{de(a,"")}catch(m){Cs(e,e.return,m)}}if(4&r&&null!=(a=e.stateNode)){var l=e.memoizedProps,i=null!==n?n.memoizedProps:l,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===l.type&&null!=l.name&&Z(a,l),be(u,i);var c=be(u,l);for(i=0;i<s.length;i+=2){var f=s[i],d=s[i+1];"style"===f?me(a,d):"dangerouslySetInnerHTML"===f?fe(a,d):"children"===f?de(a,d):b(a,f,d,c)}switch(u){case"input":_(a,l);break;case"textarea":oe(a,l);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!l.multiple;var h=l.value;null!=h?ne(a,!!l.multiple,h,!1):p!==!!l.multiple&&(null!=l.defaultValue?ne(a,!!l.multiple,l.defaultValue,!0):ne(a,!!l.multiple,l.multiple?[]:"",!1))}a[pa]=l}catch(m){Cs(e,e.return,m)}}break;case 6:if(mu(t,e),gu(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,l=e.memoizedProps;try{a.nodeValue=l}catch(m){Cs(e,e.return,m)}}break;case 3:if(mu(t,e),gu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Kt(t.containerInfo)}catch(m){Cs(e,e.return,m)}break;case 4:default:mu(t,e),gu(e);break;case 13:mu(t,e),gu(e),8192&(a=e.child).flags&&(l=null!==a.memoizedState,a.stateNode.isHidden=l,!l||null!==a.alternate&&null!==a.alternate.memoizedState||(Ku=Ze())),4&r&&vu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Zi=(c=Zi)||f,mu(t,e),Zi=c):mu(t,e),gu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!==(1&e.mode))for($i=e,f=e.child;null!==f;){for(d=$i=f;null!==$i;){switch(h=(p=$i).child,p.tag){case 0:case 11:case 14:case 15:ru(4,p,p.return);break;case 1:eu(p,p.return);var v=p.stateNode;if("function"===typeof v.componentWillUnmount){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Cs(r,n,m)}}break;case 5:eu(p,p.return);break;case 22:if(null!==p.memoizedState){ku(d);continue}}null!==h?(h.return=p,$i=h):ku(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{a=d.stateNode,c?"function"===typeof(l=a.style).setProperty?l.setProperty("display","none","important"):l.display="none":(u=d.stateNode,i=void 0!==(s=d.memoizedProps.style)&&null!==s&&s.hasOwnProperty("display")?s.display:null,u.style.display=ve("display",i))}catch(m){Cs(e,e.return,m)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(m){Cs(e,e.return,m)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:mu(t,e),gu(e),4&r&&vu(e);case 21:}}function gu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(iu(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(de(a,""),r.flags&=-33),cu(e,uu(e),a);break;case 3:case 4:var l=r.stateNode.containerInfo;su(e,uu(e),l);break;default:throw Error(o(161))}}catch(i){Cs(e,e.return,i)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bu(e,t,n){$i=e,wu(e,t,n)}function wu(e,t,n){for(var r=0!==(1&e.mode);null!==$i;){var a=$i,o=a.child;if(22===a.tag&&r){var l=null!==a.memoizedState||Xi;if(!l){var i=a.alternate,u=null!==i&&null!==i.memoizedState||Zi;i=Xi;var s=Zi;if(Xi=l,(Zi=u)&&!s)for($i=a;null!==$i;)u=(l=$i).child,22===l.tag&&null!==l.memoizedState?Su(a):null!==u?(u.return=l,$i=u):Su(a);for(;null!==o;)$i=o,wu(o,t,n),o=o.sibling;$i=a,Xi=i,Zi=s}xu(e)}else 0!==(8772&a.subtreeFlags)&&null!==o?(o.return=a,$i=o):xu(e)}}function xu(e){for(;null!==$i;){var t=$i;if(0!==(8772&t.flags)){var n=t.alternate;try{if(0!==(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zi||au(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zi)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:yo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var l=t.updateQueue;null!==l&&Vo(t,l,r);break;case 3:var i=t.updateQueue;if(null!==i){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Vo(t,i,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Kt(d)}}}break;default:throw Error(o(163))}Zi||512&t.flags&&ou(t)}catch(p){Cs(t,t.return,p)}}if(t===e){$i=null;break}if(null!==(n=t.sibling)){n.return=t.return,$i=n;break}$i=t.return}}function ku(e){for(;null!==$i;){var t=$i;if(t===e){$i=null;break}var n=t.sibling;if(null!==n){n.return=t.return,$i=n;break}$i=t.return}}function Su(e){for(;null!==$i;){var t=$i;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{au(4,t)}catch(u){Cs(t,n,u)}break;case 1:var r=t.stateNode;if("function"===typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(u){Cs(t,a,u)}}var o=t.return;try{ou(t)}catch(u){Cs(t,o,u)}break;case 5:var l=t.return;try{ou(t)}catch(u){Cs(t,l,u)}}}catch(u){Cs(t,t.return,u)}if(t===e){$i=null;break}var i=t.sibling;if(null!==i){i.return=t.return,$i=i;break}$i=t.return}}var Eu,Cu=Math.ceil,Au=w.ReactCurrentDispatcher,Nu=w.ReactCurrentOwner,Pu=w.ReactCurrentBatchConfig,ju=0,Ou=null,Iu=null,Mu=0,Tu=0,Lu=Ea(0),Ru=0,Du=null,Fu=0,zu=0,Vu=0,Uu=null,Bu=null,Ku=0,Qu=1/0,Hu=null,Wu=!1,Gu=null,Ju=null,Yu=!1,qu=null,Xu=0,Zu=0,_u=null,$u=-1,es=0;function ts(){return 0!==(6&ju)?Ze():-1!==$u?$u:$u=Ze()}function ns(e){return 0===(1&e.mode)?1:0!==(2&ju)&&0!==Mu?Mu&-Mu:null!==mo.transition?(0===es&&(es=vt()),es):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function rs(e,t,n,r){if(50<Zu)throw Zu=0,_u=null,Error(o(185));yt(e,n,r),0!==(2&ju)&&e===Ou||(e===Ou&&(0===(2&ju)&&(zu|=n),4===Ru&&us(e,Mu)),as(e,r),1===n&&0===ju&&0===(1&t.mode)&&(Qu=Ze()+500,Va&&Ka()))}function as(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-lt(o),i=1<<l,u=a[l];-1===u?0!==(i&n)&&0===(i&r)||(a[l]=pt(i,t)):u<=t&&(e.expiredLanes|=i),o&=~i}}(e,t);var r=dt(e,e===Ou?Mu:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Va=!0,Ba(e)}(ss.bind(null,e)):Ba(ss.bind(null,e)),la((function(){0===(6&ju)&&Ka()})),n=null;else{switch(wt(r)){case 1:n=$e;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Os(n,os.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function os(e,t){if($u=-1,es=0,0!==(6&ju))throw Error(o(327));var n=e.callbackNode;if(Ss()&&e.callbackNode!==n)return null;var r=dt(e,e===Ou?Mu:0);if(0===r)return null;if(0!==(30&r)||0!==(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var a=ju;ju|=2;var l=vs();for(Ou===e&&Mu===t||(Hu=null,Qu=Ze()+500,ps(e,t));;)try{bs();break}catch(u){hs(e,u)}ko(),Au.current=l,ju=a,null!==Iu?t=0:(Ou=null,Mu=0,t=Ru)}if(0!==t){if(2===t&&(0!==(a=ht(e))&&(r=a,t=ls(e,a))),1===t)throw n=Du,ps(e,0),us(e,r),as(e,Ze()),n;if(6===t)us(e,r);else{if(a=e.current.alternate,0===(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!ir(o(),a))return!1}catch(i){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=ys(e,r))&&(0!==(l=ht(e))&&(r=l,t=ls(e,l))),1===t))throw n=Du,ps(e,0),us(e,r),as(e,Ze()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:ks(e,Bu,Hu);break;case 3:if(us(e,r),(130023424&r)===r&&10<(t=Ku+500-Ze())){if(0!==dt(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ts(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(ks.bind(null,e,Bu,Hu),t);break}ks(e,Bu,Hu);break;case 4:if(us(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var i=31-lt(r);l=1<<i,(i=t[i])>a&&(a=i),r&=~l}if(r=a,10<(r=(120>(r=Ze()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)){e.timeoutHandle=ra(ks.bind(null,e,Bu,Hu),r);break}ks(e,Bu,Hu);break;default:throw Error(o(329))}}}return as(e,Ze()),e.callbackNode===n?os.bind(null,e):null}function ls(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=ys(e,t))&&(t=Bu,Bu=n,null!==t&&is(t)),e}function is(e){null===Bu?Bu=e:Bu.push.apply(Bu,e)}function us(e,t){for(t&=~Vu,t&=~zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-lt(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!==(6&ju))throw Error(o(327));Ss();var t=dt(e,0);if(0===(1&t))return as(e,Ze()),null;var n=ys(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=ls(e,r))}if(1===n)throw n=Du,ps(e,0),us(e,t),as(e,Ze()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ks(e,Bu,Hu),as(e,Ze()),null}function cs(e,t){var n=ju;ju|=1;try{return e(t)}finally{0===(ju=n)&&(Qu=Ze()+500,Va&&Ka())}}function fs(e){null!==qu&&0===qu.tag&&0===(6&ju)&&Ss();var t=ju;ju|=1;var n=Pu.transition,r=bt;try{if(Pu.transition=null,bt=1,e)return e()}finally{bt=r,Pu.transition=n,0===(6&(ju=t))&&Ka()}}function ds(){Tu=Lu.current,Ca(Lu)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Iu)for(n=Iu.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Ta();break;case 3:ol(),Ca(ja),Ca(Pa),fl();break;case 5:il(r);break;case 4:ol();break;case 13:case 19:Ca(ul);break;case 10:So(r.type._context);break;case 22:case 23:ds()}n=n.return}if(Ou=e,Iu=e=Ls(e.current,null),Mu=Tu=t,Ru=0,Du=null,Vu=zu=Fu=0,Bu=Uu=null,null!==No){for(t=0;t<No.length;t++)if(null!==(r=(n=No[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var l=o.next;o.next=a,r.next=l}n.pending=r}No=null}return e}function hs(e,t){for(;;){var n=Iu;try{if(ko(),dl.current=li,gl){for(var r=vl.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}gl=!1}if(hl=0,yl=ml=vl=null,bl=!1,wl=0,Nu.current=null,null===n||null===n.return){Ru=1,Du=t,Iu=null;break}e:{var l=e,i=n.return,u=n,s=t;if(t=Mu,u.flags|=32768,null!==s&&"object"===typeof s&&"function"===typeof s.then){var c=s,f=u,d=f.tag;if(0===(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var h=yi(i);if(null!==h){h.flags&=-257,gi(h,i,u,0,t),1&h.mode&&mi(l,c,t),s=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(s),t.updateQueue=m}else v.add(s);break e}if(0===(1&t)){mi(l,c,t),ms();break e}s=Error(o(426))}else if(ao&&1&u.mode){var y=yi(i);if(null!==y){0===(65536&y.flags)&&(y.flags|=256),gi(y,i,u,0,t),vo(ci(s,u));break e}}l=s=ci(s,u),4!==Ru&&(Ru=2),null===Uu?Uu=[l]:Uu.push(l),l=i;do{switch(l.tag){case 3:l.flags|=65536,t&=-t,l.lanes|=t,Fo(l,hi(0,s,t));break e;case 1:u=s;var g=l.type,b=l.stateNode;if(0===(128&l.flags)&&("function"===typeof g.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Ju||!Ju.has(b)))){l.flags|=65536,t&=-t,l.lanes|=t,Fo(l,vi(l,u,t));break e}}l=l.return}while(null!==l)}xs(n)}catch(w){t=w,Iu===n&&null!==n&&(Iu=n=n.return);continue}break}}function vs(){var e=Au.current;return Au.current=li,null===e?li:e}function ms(){0!==Ru&&3!==Ru&&2!==Ru||(Ru=4),null===Ou||0===(268435455&Fu)&&0===(268435455&zu)||us(Ou,Mu)}function ys(e,t){var n=ju;ju|=2;var r=vs();for(Ou===e&&Mu===t||(Hu=null,ps(e,t));;)try{gs();break}catch(a){hs(e,a)}if(ko(),ju=n,Au.current=r,null!==Iu)throw Error(o(261));return Ou=null,Mu=0,Ru}function gs(){for(;null!==Iu;)ws(Iu)}function bs(){for(;null!==Iu&&!qe();)ws(Iu)}function ws(e){var t=Eu(e.alternate,e,Tu);e.memoizedProps=e.pendingProps,null===t?xs(e):Iu=t,Nu.current=null}function xs(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(32768&t.flags)){if(null!==(n=Yi(n,t,Tu)))return void(Iu=n)}else{if(null!==(n=qi(n,t)))return n.flags&=32767,void(Iu=n);if(null===e)return Ru=6,void(Iu=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Iu=t);Iu=t=e}while(null!==t);0===Ru&&(Ru=5)}function ks(e,t,n){var r=bt,a=Pu.transition;try{Pu.transition=null,bt=1,function(e,t,n,r){do{Ss()}while(null!==qu);if(0!==(6&ju))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var l=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-lt(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,l),e===Ou&&(Iu=Ou=null,Mu=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Yu||(Yu=!0,Os(tt,(function(){return Ss(),null}))),l=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||l){l=Pu.transition,Pu.transition=null;var i=bt;bt=1;var u=ju;ju|=4,Nu.current=null,function(e,t){if(ea=Ht,pr(e=dr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,l=r.focusNode;r=r.focusOffset;try{n.nodeType,l.nodeType}catch(x){n=null;break e}var i=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var h;d!==n||0!==a&&3!==d.nodeType||(u=i+a),d!==l||0!==r&&3!==d.nodeType||(s=i+r),3===d.nodeType&&(i+=d.nodeValue.length),null!==(h=d.firstChild);)p=d,d=h;for(;;){if(d===e)break t;if(p===n&&++c===a&&(u=i),p===l&&++f===r&&(s=i),null!==(h=d.nextSibling))break;p=(d=p).parentNode}d=h}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,$i=t;null!==$i;)if(e=(t=$i).child,0!==(1028&t.subtreeFlags)&&null!==e)e.return=t,$i=e;else for(;null!==$i;){t=$i;try{var v=t.alternate;if(0!==(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,y=v.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:yo(t.type,m),y);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(x){Cs(t,t.return,x)}if(null!==(e=t.sibling)){e.return=t.return,$i=e;break}$i=t.return}v=nu,nu=!1}(e,n),yu(n,e),hr(ta),Ht=!!ea,ta=ea=null,e.current=n,bu(n,e,a),Xe(),ju=u,bt=i,Pu.transition=l}else e.current=n;if(Yu&&(Yu=!1,qu=e,Xu=a),l=e.pendingLanes,0===l&&(Ju=null),function(e){if(ot&&"function"===typeof ot.onCommitFiberRoot)try{ot.onCommitFiberRoot(at,e,void 0,128===(128&e.current.flags))}catch(t){}}(n.stateNode),as(e,Ze()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)a=t[n],r(a.value,{componentStack:a.stack,digest:a.digest});if(Wu)throw Wu=!1,e=Gu,Gu=null,e;0!==(1&Xu)&&0!==e.tag&&Ss(),l=e.pendingLanes,0!==(1&l)?e===_u?Zu++:(Zu=0,_u=e):Zu=0,Ka()}(e,t,n,r)}finally{Pu.transition=a,bt=r}return null}function Ss(){if(null!==qu){var e=wt(Xu),t=Pu.transition,n=bt;try{if(Pu.transition=null,bt=16>e?16:e,null===qu)var r=!1;else{if(e=qu,qu=null,Xu=0,0!==(6&ju))throw Error(o(331));var a=ju;for(ju|=4,$i=e.current;null!==$i;){var l=$i,i=l.child;if(0!==(16&$i.flags)){var u=l.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for($i=c;null!==$i;){var f=$i;switch(f.tag){case 0:case 11:case 15:ru(8,f,l)}var d=f.child;if(null!==d)d.return=f,$i=d;else for(;null!==$i;){var p=(f=$i).sibling,h=f.return;if(lu(f),f===c){$i=null;break}if(null!==p){p.return=h,$i=p;break}$i=h}}}var v=l.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var y=m.sibling;m.sibling=null,m=y}while(null!==m)}}$i=l}}if(0!==(2064&l.subtreeFlags)&&null!==i)i.return=l,$i=i;else e:for(;null!==$i;){if(0!==(2048&(l=$i).flags))switch(l.tag){case 0:case 11:case 15:ru(9,l,l.return)}var g=l.sibling;if(null!==g){g.return=l.return,$i=g;break e}$i=l.return}}var b=e.current;for($i=b;null!==$i;){var w=(i=$i).child;if(0!==(2064&i.subtreeFlags)&&null!==w)w.return=i,$i=w;else e:for(i=b;null!==$i;){if(0!==(2048&(u=$i).flags))try{switch(u.tag){case 0:case 11:case 15:au(9,u)}}catch(k){Cs(u,u.return,k)}if(u===i){$i=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,$i=x;break e}$i=u.return}}if(ju=a,Ka(),ot&&"function"===typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(k){}r=!0}return r}finally{bt=n,Pu.transition=t}}return!1}function Es(e,t,n){e=Ro(e,t=hi(0,t=ci(n,t),1),1),t=ts(),null!==e&&(yt(e,1,t),as(e,t))}function Cs(e,t,n){if(3===e.tag)Es(e,e,n);else for(;null!==t;){if(3===t.tag){Es(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"===typeof t.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Ju||!Ju.has(r))){t=Ro(t,e=vi(t,e=ci(n,e),1),1),e=ts(),null!==t&&(yt(t,1,e),as(t,e));break}}t=t.return}}function As(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ts(),e.pingedLanes|=e.suspendedLanes&n,Ou===e&&(Mu&n)===n&&(4===Ru||3===Ru&&(130023424&Mu)===Mu&&500>Ze()-Ku?ps(e,0):Vu|=n),as(e,t)}function Ns(e,t){0===t&&(0===(1&e.mode)?t=1:(t=ct,0===(130023424&(ct<<=1))&&(ct=4194304)));var n=ts();null!==(e=Oo(e,t))&&(yt(e,t,n),as(e,n))}function Ps(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ns(e,n)}function js(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Ns(e,n)}function Os(e,t){return Je(e,t)}function Is(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ms(e,t,n,r){return new Is(e,t,n,r)}function Ts(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ls(e,t){var n=e.alternate;return null===n?((n=Ms(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Rs(e,t,n,r,a,l){var i=2;if(r=e,"function"===typeof e)Ts(e)&&(i=1);else if("string"===typeof e)i=5;else e:switch(e){case S:return Ds(n.children,a,l,t);case E:i=8,a|=8;break;case C:return(e=Ms(12,n,t,2|a)).elementType=C,e.lanes=l,e;case j:return(e=Ms(13,n,t,a)).elementType=j,e.lanes=l,e;case O:return(e=Ms(19,n,t,a)).elementType=O,e.lanes=l,e;case T:return Fs(n,a,l,t);default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case A:i=10;break e;case N:i=9;break e;case P:i=11;break e;case I:i=14;break e;case M:i=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ms(i,n,t,a)).elementType=e,t.type=r,t.lanes=l,t}function Ds(e,t,n,r){return(e=Ms(7,e,r,t)).lanes=n,e}function Fs(e,t,n,r){return(e=Ms(22,e,r,t)).elementType=T,e.lanes=n,e.stateNode={isHidden:!1},e}function zs(e,t,n){return(e=Ms(6,e,null,t)).lanes=n,e}function Vs(e,t,n){return(t=Ms(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Us(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Bs(e,t,n,r,a,o,l,i,u){return e=new Us(e,t,n,i,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ms(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Mo(o),e}function Ks(e){if(!e)return Na;e:{if(Ke(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ma(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ma(n))return Ra(e,n,t)}return t}function Qs(e,t,n,r,a,o,l,i,u){return(e=Bs(n,r,!0,e,0,o,0,i,u)).context=Ks(null),n=e.current,(o=Lo(r=ts(),a=ns(n))).callback=void 0!==t&&null!==t?t:null,Ro(n,o,a),e.current.lanes=a,yt(e,a,r),as(e,r),e}function Hs(e,t,n,r){var a=t.current,o=ts(),l=ns(a);return n=Ks(n),null===t.context?t.context=n:t.pendingContext=n,(t=Lo(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ro(a,t,l))&&(rs(e,a,l,o),Do(e,a,l)),l}function Ws(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Gs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Js(e,t){Gs(e,t),(e=e.alternate)&&Gs(e,t)}Eu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ja.current)wi=!0;else{if(0===(e.lanes&n)&&0===(128&t.flags))return wi=!1,function(e,t,n){switch(t.tag){case 3:Oi(t),ho();break;case 5:ll(t);break;case 1:Ma(t.type)&&Da(t);break;case 4:al(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Aa(go,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Aa(ul,1&ul.current),t.flags|=128,null):0!==(n&t.child.childLanes)?zi(e,t,n):(Aa(ul,1&ul.current),null!==(e=Wi(e,t,n))?e.sibling:null);Aa(ul,1&ul.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(128&e.flags)){if(r)return Qi(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Aa(ul,ul.current),r)break;return null;case 22:case 23:return t.lanes=0,Ci(e,t,n)}return Wi(e,t,n)}(e,t,n);wi=0!==(131072&e.flags)}else wi=!1,ao&&0!==(1048576&t.flags)&&$a(t,Ga,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hi(e,t),e=t.pendingProps;var a=Ia(t,Pa.current);Co(t,n),a=El(null,t,r,e,a,n);var l=Cl();return t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ma(r)?(l=!0,Da(t)):l=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Mo(t),a.updater=Ko,t.stateNode=a,a._reactInternals=t,Go(t,r,e,n),t=ji(null,t,r,!0,l,n)):(t.tag=0,ao&&l&&eo(t),xi(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hi(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"===typeof e)return Ts(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===I)return 14}return 2}(r),e=yo(r,e),a){case 0:t=Ni(null,t,r,e,n);break e;case 1:t=Pi(null,t,r,e,n);break e;case 11:t=ki(null,t,r,e,n);break e;case 14:t=Si(null,t,r,yo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ni(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Pi(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 3:e:{if(Oi(t),null===e)throw Error(o(387));r=t.pendingProps,a=(l=t.memoizedState).element,To(e,t),zo(t,r,null,n);var i=t.memoizedState;if(r=i.element,l.isDehydrated){if(l={element:r,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=l,t.memoizedState=l,256&t.flags){t=Ii(e,t,r,n,a=ci(Error(o(423)),t));break e}if(r!==a){t=Ii(e,t,r,n,a=ci(Error(o(424)),t));break e}for(ro=sa(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=_o(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ho(),r===a){t=Wi(e,t,n);break e}xi(e,t,r,n)}t=t.child}return t;case 5:return ll(t),null===e&&so(t),r=t.type,a=t.pendingProps,l=null!==e?e.memoizedProps:null,i=a.children,na(r,a)?i=null:null!==l&&na(r,l)&&(t.flags|=32),Ai(e,t),xi(e,t,i,n),t.child;case 6:return null===e&&so(t),null;case 13:return zi(e,t,n);case 4:return al(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Zo(t,null,r,n):xi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,ki(e,t,r,a=t.elementType===r?a:yo(r,a),n);case 7:return xi(e,t,t.pendingProps,n),t.child;case 8:case 12:return xi(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,l=t.memoizedProps,i=a.value,Aa(go,r._currentValue),r._currentValue=i,null!==l)if(ir(l.value,i)){if(l.children===a.children&&!ja.current){t=Wi(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){i=l.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===l.tag){(s=Lo(-1,n&-n)).tag=2;var c=l.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}l.lanes|=n,null!==(s=l.alternate)&&(s.lanes|=n),Eo(l.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===l.tag)i=l.type===t.type?null:l.child;else if(18===l.tag){if(null===(i=l.return))throw Error(o(341));i.lanes|=n,null!==(u=i.alternate)&&(u.lanes|=n),Eo(i,n,t),i=l.sibling}else i=l.child;if(null!==i)i.return=l;else for(i=l;null!==i;){if(i===t){i=null;break}if(null!==(l=i.sibling)){l.return=i.return,i=l;break}i=i.return}l=i}xi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,Co(t,n),r=r(a=Ao(a)),t.flags|=1,xi(e,t,r,n),t.child;case 14:return a=yo(r=t.type,t.pendingProps),Si(e,t,r,a=yo(r.type,a),n);case 15:return Ei(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:yo(r,a),Hi(e,t),t.tag=1,Ma(r)?(e=!0,Da(t)):e=!1,Co(t,n),Ho(t,r,a),Go(t,r,a,n),ji(null,t,r,!0,e,n);case 19:return Qi(e,t,n);case 22:return Ci(e,t,n)}throw Error(o(156,t.tag))};var Ys="function"===typeof reportError?reportError:function(e){console.error(e)};function qs(e){this._internalRoot=e}function Xs(e){this._internalRoot=e}function Zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function _s(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $s(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var l=o;if("function"===typeof a){var i=a;a=function(){var e=Ws(l);i.call(e)}}Hs(t,l,e,a)}else l=function(e,t,n,r,a){if(a){if("function"===typeof r){var o=r;r=function(){var e=Ws(l);o.call(e)}}var l=Qs(t,r,e,0,null,!1,0,"",$s);return e._reactRootContainer=l,e[ha]=l.current,Kr(8===e.nodeType?e.parentNode:e),fs(),l}for(;a=e.lastChild;)e.removeChild(a);if("function"===typeof r){var i=r;r=function(){var e=Ws(u);i.call(e)}}var u=Bs(e,0,!1,null,0,!1,0,"",$s);return e._reactRootContainer=u,e[ha]=u.current,Kr(8===e.nodeType?e.parentNode:e),fs((function(){Hs(t,u,n,r)})),u}(n,t,e,a,r);return Ws(l)}Xs.prototype.render=qs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hs(e,t,null,null)},Xs.prototype.unmount=qs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fs((function(){Hs(null,e,null,null)})),t[ha]=null}},Xs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Tt.length&&0!==t&&t<Tt[n].priority;n++);Tt.splice(n,0,e),0===n&&Ft(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(gt(t,1|n),as(t,Ze()),0===(6&ju)&&(Qu=Ze()+500,Ka()))}break;case 13:fs((function(){var t=Oo(e,1);if(null!==t){var n=ts();rs(t,e,1,n)}})),Js(e,1)}},kt=function(e){if(13===e.tag){var t=Oo(e,134217728);if(null!==t)rs(t,e,134217728,ts());Js(e,134217728)}},St=function(e){if(13===e.tag){var t=ns(e),n=Oo(e,t);if(null!==n)rs(n,e,t,ts());Js(e,t)}},Et=function(){return bt},Ct=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(_(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=xa(r);if(!a)throw Error(o(90));J(r),_(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=cs,je=fs;var tc={usingClientEntryPoint:!1,Events:[ba,wa,xa,Ae,Ne,cs]},nc={findFiberByHostInstance:ga,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zs(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zs(e))throw Error(o(299));var n=!1,r="",a=Ys;return null!==t&&void 0!==t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Bs(e,1,!1,null,0,n,0,r,a),e[ha]=t.current,Kr(8===e.nodeType?e.parentNode:e),new qs(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return fs(e)},t.hydrate=function(e,t,n){if(!_s(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zs(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,l="",i=Ys;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(l=n.identifierPrefix),void 0!==n.onRecoverableError&&(i=n.onRecoverableError)),t=Qs(t,null,e,1,null!=n?n:null,a,0,l,i),e[ha]=t.current,Kr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Xs(t)},t.render=function(e,t,n){if(!_s(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!_s(e))throw Error(o(40));return!!e._reactRootContainer&&(fs((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ha]=null}))})),!0)},t.unstable_batchedUpdates=cs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!_s(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},250:function(e,t,n){"use strict";var r=n(164);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},459:function(e,t){"use strict";var n,r=Symbol.for("react.element"),a=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen");function y(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case o:case i:case l:case d:case p:return e;default:switch(e=e&&e.$$typeof){case c:case s:case f:case v:case h:case u:return e;default:return t}}case a:return t}}}n=Symbol.for("react.module.reference")},900:function(e,t,n){"use strict";n(459)},374:function(e,t,n){"use strict";var r=n(791),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),l=Object.prototype.hasOwnProperty,i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,o={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)l.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:s,ref:c,props:o,_owner:i.current}}t.Fragment=o,t.jsx=s,t.jsxs=s},117:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,m={};function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=y.prototype;var w=b.prototype=new g;w.constructor=b,v(w,y.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var a,o={},l=null,i=null;if(null!=t)for(a in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)k.call(t,a)&&!E.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===o[a]&&(o[a]=u[a]);return{$$typeof:n,type:e,key:l,ref:i,props:o,_owner:S.current}}function A(e){return"object"===typeof e&&null!==e&&e.$$typeof===n}var N=/\/+/g;function P(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function j(e,t,a,o,l){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var u=!1;if(null===e)u=!0;else switch(i){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return l=l(u=e),e=""===o?"."+P(u,0):o,x(l)?(a="",null!=e&&(a=e.replace(N,"$&/")+"/"),j(l,t,a,"",(function(e){return e}))):null!=l&&(A(l)&&(l=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(l,a+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(N,"$&/")+"/")+e)),t.push(l)),1;if(u=0,o=""===o?".":o+":",x(e))for(var s=0;s<e.length;s++){var c=o+P(i=e[s],s);u+=j(i,t,a,c,l)}else if(c=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"===typeof c)for(e=c.call(e),s=0;!(i=e.next()).done;)u+=j(i=i.value,t,a,c=o+P(i,s++),l);else if("object"===i)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function O(e,t,n){if(null==e)return e;var r=[],a=0;return j(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function I(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var M={current:null},T={transition:null},L={ReactCurrentDispatcher:M,ReactCurrentBatchConfig:T,ReactCurrentOwner:S};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!A(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=y,t.Fragment=a,t.Profiler=l,t.PureComponent=b,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,r){if(null===e||void 0===e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=v({},e.props),o=e.key,l=e.ref,i=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,i=S.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:o,ref:l,props:a,_owner:i}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:I}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return M.current.useCallback(e,t)},t.useContext=function(e){return M.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return M.current.useDeferredValue(e)},t.useEffect=function(e,t){return M.current.useEffect(e,t)},t.useId=function(){return M.current.useId()},t.useImperativeHandle=function(e,t,n){return M.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return M.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return M.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return M.current.useMemo(e,t)},t.useReducer=function(e,t,n){return M.current.useReducer(e,t,n)},t.useRef=function(e){return M.current.useRef(e)},t.useState=function(e){return M.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return M.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return M.current.useTransition()},t.version="18.2.0"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,l=a>>>1;r<l;){var i=2*(r+1)-1,u=e[i],s=i+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,v=!1,m=!1,y="function"===typeof setTimeout?setTimeout:null,g="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(m=!1,w(e),!v)if(null!==r(s))v=!0,T(k);else{var t=r(c);null!==t&&L(x,t.startTime-e)}}function k(e,n){v=!1,m&&(m=!1,g(A),A=-1),h=!0;var o=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!j());){var l=d.callback;if("function"===typeof l){d.callback=null,p=d.priorityLevel;var i=l(d.expirationTime<=n);n=t.unstable_now(),"function"===typeof i?d.callback=i:d===r(s)&&a(s),w(n)}else a(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&L(x,f.startTime-n),u=!1}return u}finally{d=null,p=o,h=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,C=null,A=-1,N=5,P=-1;function j(){return!(t.unstable_now()-P<N)}function O(){if(null!==C){var e=t.unstable_now();P=e;var n=!0;try{n=C(!0,e)}finally{n?S():(E=!1,C=null)}}else E=!1}if("function"===typeof b)S=function(){b(O)};else if("undefined"!==typeof MessageChannel){var I=new MessageChannel,M=I.port2;I.port1.onmessage=O,S=function(){M.postMessage(null)}}else S=function(){y(O,0)};function T(e){C=e,E||(E=!0,S())}function L(e,n){A=y((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){v||h||(v=!0,T(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var l=t.unstable_now();switch("object"===typeof o&&null!==o?o="number"===typeof(o=o.delay)&&0<o?l+o:l:o=l,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return e={id:f++,callback:a,priorityLevel:e,startTime:o,expirationTime:i=o+i,sortIndex:-1},o>l?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(m?(g(A),A=-1):m=!0,L(x,o-l))):(e.sortIndex=i,n(s,e),v||h||(v=!0,T(k))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},561:function(e,t,n){"use strict";var r=n(791);var a="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},o=r.useState,l=r.useEffect,i=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!a(e,n)}catch(r){return!0}}var c="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),a=r[0].inst,c=r[1];return i((function(){a.value=n,a.getSnapshot=t,s(a)&&c({inst:a})}),[e,n,t]),l((function(){return s(a)&&c({inst:a}),e((function(){s(a)&&c({inst:a})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},595:function(e,t,n){"use strict";var r=n(791),a=n(248);var o="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},l=a.useSyncExternalStore,i=r.useRef,u=r.useEffect,s=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,a){var f=i(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;f=s((function(){function e(e){if(!u){if(u=!0,l=e,e=r(e),void 0!==a&&d.hasValue){var t=d.value;if(a(t,e))return i=t}return i=e}if(t=i,o(l,e))return t;var n=r(e);return void 0!==a&&a(t,n)?t:(l=e,i=n)}var l,i,u=!1,s=void 0===n?null:n;return[function(){return e(t())},null===s?void 0:function(){return e(s())}]}),[t,n,r,a]);var p=l(e,f[0],f[1]);return u((function(){d.hasValue=!0,d.value=p}),[p]),c(p),p}},248:function(e,t,n){"use strict";e.exports=n(561)},327:function(e,t,n){"use strict";e.exports=n(595)},391:function(e){"use strict";var t=function(){};e.exports=t}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){"use strict";var e=n(791),t=n(250);function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function a(e){return!!e&&!!e[J]}function o(e){var t;return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Y}(e)||Array.isArray(e)||!!e[G]||!!(null===(t=e.constructor)||void 0===t?void 0:t[G])||d(e)||p(e))}function l(e,t,n){void 0===n&&(n=!1),0===i(e)?(n?Object.keys:q)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function i(e){var t=e[J];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:d(e)?2:p(e)?3:0}function u(e,t){return 2===i(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function s(e,t){return 2===i(e)?e.get(t):e[t]}function c(e,t,n){var r=i(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function d(e){return K&&e instanceof Map}function p(e){return Q&&e instanceof Set}function h(e){return e.o||e.t}function v(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=X(e);delete t[J];for(var n=q(t),r=0;r<n.length;r++){var a=n[r],o=t[a];!1===o.writable&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[a]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[a]})}return Object.create(Object.getPrototypeOf(e),t)}function m(e,t){return void 0===t&&(t=!1),g(e)||a(e)||!o(e)||(i(e)>1&&(e.set=e.add=e.clear=e.delete=y),Object.freeze(e),t&&l(e,(function(e,t){return m(t,!0)}),!0)),e}function y(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function b(e){var t=Z[e];return t||r(18,e),t}function w(e,t){Z[e]||(Z[e]=t)}function x(){return U}function k(e,t){t&&(b("Patches"),e.u=[],e.s=[],e.v=t)}function S(e){E(e),e.p.forEach(A),e.p=null}function E(e){e===U&&(U=e.l)}function C(e){return U={p:[],l:U,h:e,m:!0,_:0}}function A(e){var t=e[J];0===t.i||1===t.i?t.j():t.g=!0}function N(e,t){t._=t.p.length;var n=t.p[0],a=void 0!==e&&e!==n;return t.h.O||b("ES5").S(t,e,a),a?(n[J].P&&(S(t),r(4)),o(e)&&(e=P(t,e),t.l||O(t,e)),t.u&&b("Patches").M(n[J].t,e,t.u,t.s)):e=P(t,n,[]),S(t),t.u&&t.v(t.u,t.s),e!==W?e:void 0}function P(e,t,n){if(g(t))return t;var r=t[J];if(!r)return l(t,(function(a,o){return j(e,r,t,a,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return O(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var a=4===r.i||5===r.i?r.o=v(r.k):r.o,o=a,i=!1;3===r.i&&(o=new Set(a),a.clear(),i=!0),l(o,(function(t,o){return j(e,r,a,t,o,n,i)})),O(e,a,!1),n&&e.u&&b("Patches").N(r,n,e.u,e.s)}return r.o}function j(e,t,n,r,l,i,s){if(a(l)){var f=P(e,l,i&&t&&3!==t.i&&!u(t.R,r)?i.concat(r):void 0);if(c(n,r,f),!a(f))return;e.m=!1}else s&&n.add(l);if(o(l)&&!g(l)){if(!e.h.D&&e._<1)return;P(e,l),t&&t.A.l||O(e,l)}}function O(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&m(t,n)}function I(e,t){var n=e[J];return(n?h(n):e)[t]}function M(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function T(e){e.P||(e.P=!0,e.l&&T(e.l))}function L(e){e.o||(e.o=v(e.t))}function R(e,t,n){var r=d(t)?b("MapSet").F(t,n):p(t)?b("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:x(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},a=r,o=_;n&&(a=[r],o=$);var l=Proxy.revocable(a,o),i=l.revoke,u=l.proxy;return r.k=u,r.j=i,u}(t,n):b("ES5").J(t,n);return(n?n.A:x()).p.push(r),r}function D(e){return a(e)||r(22,e),function e(t){if(!o(t))return t;var n,r=t[J],a=i(t);if(r){if(!r.P&&(r.i<4||!b("ES5").K(r)))return r.t;r.I=!0,n=F(t,a),r.I=!1}else n=F(t,a);return l(n,(function(t,a){r&&s(r.t,t)===a||c(n,t,e(a))})),3===a?new Set(n):n}(e)}function F(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return v(e)}function z(){function e(e,t){var n=o[e];return n?n.enumerable=t:o[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[J];return _.get(t,e)},set:function(t){var n=this[J];_.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var a=e[t][J];if(!a.P)switch(a.i){case 5:r(a)&&T(a);break;case 4:n(a)&&T(a)}}}function n(e){for(var t=e.t,n=e.k,r=q(n),a=r.length-1;a>=0;a--){var o=r[a];if(o!==J){var l=t[o];if(void 0===l&&!u(t,o))return!0;var i=n[o],s=i&&i[J];if(s?s.t!==l:!f(i,l))return!0}}var c=!!t[J];return r.length!==q(t).length+(c?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r<t.length;r++)if(!t.hasOwnProperty(r))return!0;return!1}var o={};w("ES5",{J:function(t,n){var r=Array.isArray(t),a=function(t,n){if(t){for(var r=Array(n.length),a=0;a<n.length;a++)Object.defineProperty(r,""+a,e(a,!0));return r}var o=X(n);delete o[J];for(var l=q(o),i=0;i<l.length;i++){var u=l[i];o[u]=e(u,t||!!o[u].enumerable)}return Object.create(Object.getPrototypeOf(n),o)}(r,t),o={i:r?5:4,A:n?n.A:x(),P:!1,I:!1,R:{},l:n,t:t,k:a,o:null,g:!1,C:!1};return Object.defineProperty(a,J,{value:o,writable:!0}),a},S:function(e,n,o){o?a(n)&&n[J].A===e&&t(e.p):(e.u&&function e(t){if(t&&"object"==typeof t){var n=t[J];if(n){var a=n.t,o=n.k,i=n.R,s=n.i;if(4===s)l(o,(function(t){t!==J&&(void 0!==a[t]||u(a,t)?i[t]||e(o[t]):(i[t]=!0,T(n)))})),l(a,(function(e){void 0!==o[e]||u(o,e)||(i[e]=!1,T(n))}));else if(5===s){if(r(n)&&(T(n),i.length=!0),o.length<a.length)for(var c=o.length;c<a.length;c++)i[c]=!1;else for(var f=a.length;f<o.length;f++)i[f]=!0;for(var d=Math.min(o.length,a.length),p=0;p<d;p++)o.hasOwnProperty(p)||(i[p]=!0),void 0===i[p]&&e(o[p])}}}}(e.p[0]),t(e.p))},K:function(e){return 4===e.i?n(e):r(e)}})}var V,U,B="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),K="undefined"!=typeof Map,Q="undefined"!=typeof Set,H="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,W=B?Symbol.for("immer-nothing"):((V={})["immer-nothing"]=!0,V),G=B?Symbol.for("immer-draftable"):"__$immer_draftable",J=B?Symbol.for("immer-state"):"__$immer_state",Y=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),q="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,X=Object.getOwnPropertyDescriptors||function(e){var t={};return q(e).forEach((function(n){t[n]=Object.getOwnPropertyDescriptor(e,n)})),t},Z={},_={get:function(e,t){if(t===J)return e;var n=h(e);if(!u(n,t))return function(e,t,n){var r,a=M(t,n);return a?"value"in a?a.value:null===(r=a.get)||void 0===r?void 0:r.call(e.k):void 0}(e,n,t);var r=n[t];return e.I||!o(r)?r:r===I(e.t,t)?(L(e),e.o[t]=R(e.A.h,r,e)):r},has:function(e,t){return t in h(e)},ownKeys:function(e){return Reflect.ownKeys(h(e))},set:function(e,t,n){var r=M(h(e),t);if(null==r?void 0:r.set)return r.set.call(e.k,n),!0;if(!e.P){var a=I(h(e),t),o=null==a?void 0:a[J];if(o&&o.t===n)return e.o[t]=n,e.R[t]=!1,!0;if(f(n,a)&&(void 0!==n||u(e.t,t)))return!0;L(e),T(e)}return e.o[t]===n&&(void 0!==n||t in e.o)||Number.isNaN(n)&&Number.isNaN(e.o[t])||(e.o[t]=n,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==I(e.t,t)||t in e.t?(e.R[t]=!1,L(e),T(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var n=h(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:r.enumerable,value:n[t]}:r},defineProperty:function(){r(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){r(12)}},$={};l(_,(function(e,t){$[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),$.deleteProperty=function(e,t){return $.set.call(this,e,t,void 0)},$.set=function(e,t,n){return _.set.call(this,e[0],t,n,e[0])};var ee=function(){function e(e){var t=this;this.O=H,this.D=!0,this.produce=function(e,n,a){if("function"==typeof e&&"function"!=typeof n){var l=n;n=e;var i=t;return function(e){var t=this;void 0===e&&(e=l);for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return i.produce(e,(function(e){var r;return(r=n).call.apply(r,[t,e].concat(a))}))}}var u;if("function"!=typeof n&&r(6),void 0!==a&&"function"!=typeof a&&r(7),o(e)){var s=C(t),c=R(t,e,void 0),f=!0;try{u=n(c),f=!1}finally{f?S(s):E(s)}return"undefined"!=typeof Promise&&u instanceof Promise?u.then((function(e){return k(s,a),N(e,s)}),(function(e){throw S(s),e})):(k(s,a),N(u,s))}if(!e||"object"!=typeof e){if(void 0===(u=n(e))&&(u=e),u===W&&(u=void 0),t.D&&m(u,!0),a){var d=[],p=[];b("Patches").M(e,u,d,p),a(d,p)}return u}r(21,e)},this.produceWithPatches=function(e,n){if("function"==typeof e)return function(n){for(var r=arguments.length,a=Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.produceWithPatches(n,(function(t){return e.apply(void 0,[t].concat(a))}))};var r,a,o=t.produce(e,n,(function(e,t){r=e,a=t}));return"undefined"!=typeof Promise&&o instanceof Promise?o.then((function(e){return[e,r,a]})):[o,r,a]},"boolean"==typeof(null==e?void 0:e.useProxies)&&this.setUseProxies(e.useProxies),"boolean"==typeof(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze)}var t=e.prototype;return t.createDraft=function(e){o(e)||r(8),a(e)&&(e=D(e));var t=C(this),n=R(this,e,void 0);return n[J].C=!0,E(t),n},t.finishDraft=function(e,t){var n=(e&&e[J]).A;return k(n,t),N(void 0,n)},t.setAutoFreeze=function(e){this.D=e},t.setUseProxies=function(e){e&&!H&&r(20),this.O=e},t.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var o=b("Patches").$;return a(e)?o(e,t):this.produce(e,(function(e){return o(e,t)}))},e}(),te=new ee,ne=te.produce,re=(te.produceWithPatches.bind(te),te.setAutoFreeze.bind(te),te.setUseProxies.bind(te),te.applyPatches.bind(te),te.createDraft.bind(te),te.finishDraft.bind(te),ne);function ae(e){return ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ae(e)}function oe(e){var t=function(e,t){if("object"!==ae(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==ae(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===ae(t)?t:String(t)}function le(e,t,n){return(t=oe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){le(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var ce="function"===typeof Symbol&&Symbol.observable||"@@observable",fe=function(){return Math.random().toString(36).substring(7).split("").join(".")},de={INIT:"@@redux/INIT"+fe(),REPLACE:"@@redux/REPLACE"+fe(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fe()}};function pe(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function he(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(se(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(se(1));return n(he)(e,t)}if("function"!==typeof e)throw new Error(se(2));var a=e,o=t,l=[],i=l,u=!1;function s(){i===l&&(i=l.slice())}function c(){if(u)throw new Error(se(3));return o}function f(e){if("function"!==typeof e)throw new Error(se(4));if(u)throw new Error(se(5));var t=!0;return s(),i.push(e),function(){if(t){if(u)throw new Error(se(6));t=!1,s();var n=i.indexOf(e);i.splice(n,1),l=null}}}function d(e){if(!pe(e))throw new Error(se(7));if("undefined"===typeof e.type)throw new Error(se(8));if(u)throw new Error(se(9));try{u=!0,o=a(o,e)}finally{u=!1}for(var t=l=i,n=0;n<t.length;n++){(0,t[n])()}return e}return d({type:de.INIT}),(r={dispatch:d,subscribe:f,getState:c,replaceReducer:function(e){if("function"!==typeof e)throw new Error(se(10));a=e,d({type:de.REPLACE})}})[ce]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!==typeof e||null===e)throw new Error(se(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[ce]=function(){return this},e},r}function ve(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var a=t[r];0,"function"===typeof e[a]&&(n[a]=e[a])}var o,l=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if("undefined"===typeof n(void 0,{type:de.INIT}))throw new Error(se(12));if("undefined"===typeof n(void 0,{type:de.PROBE_UNKNOWN_ACTION()}))throw new Error(se(13))}))}(n)}catch(i){o=i}return function(e,t){if(void 0===e&&(e={}),o)throw o;for(var r=!1,a={},i=0;i<l.length;i++){var u=l[i],s=n[u],c=e[u],f=s(c,t);if("undefined"===typeof f){t&&t.type;throw new Error(se(14))}a[u]=f,r=r||f!==c}return(r=r||l.length!==Object.keys(e).length)?a:e}}function me(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}function ye(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(se(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(a)}));return r=me.apply(void 0,o)(n.dispatch),ue(ue({},n),{},{dispatch:r})}}}function ge(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(a){return"function"===typeof a?a(n,r,e):t(a)}}}}var be=ge();be.withExtraArgument=ge;var we=be,xe=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),ke=function(e,t){var n,r,a,o,l={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,r=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(a=(a=l.trys).length>0&&a[a.length-1])&&(6===o[0]||2===o[0])){l=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){l.label=o[1];break}if(6===o[0]&&l.label<a[1]){l.label=a[1],a=o;break}if(a&&l.label<a[2]){l.label=a[2],l.ops.push(o);break}a[2]&&l.ops.pop(),l.trys.pop();continue}o=t.call(e,l)}catch(i){o=[6,i],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},Se=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Ee=Object.defineProperty,Ce=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,Oe=function(e,t,n){return t in e?Ee(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n},Ie=function(e,t){for(var n in t||(t={}))Pe.call(t,n)&&Oe(e,n,t[n]);if(Ne)for(var r=0,a=Ne(t);r<a.length;r++){n=a[r];je.call(t,n)&&Oe(e,n,t[n])}return e},Me=function(e,t){return Ce(e,Ae(t))},Te=function(e,t,n){return new Promise((function(r,a){var o=function(e){try{i(n.next(e))}catch(t){a(t)}},l=function(e){try{i(n.throw(e))}catch(t){a(t)}},i=function(e){return e.done?r(e.value):Promise.resolve(e.value).then(o,l)};i((n=n.apply(e,t)).next())}))},Le="undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!==arguments.length)return"object"===typeof arguments[0]?me:me.apply(null,arguments)};"undefined"!==typeof window&&window.__REDUX_DEVTOOLS_EXTENSION__&&window.__REDUX_DEVTOOLS_EXTENSION__;function Re(e){if("object"!==typeof e||null===e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}function De(e,t){function n(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(t){var a=t.apply(void 0,n);if(!a)throw new Error("prepareAction did not return an object");return Ie(Ie({type:e,payload:a.payload},"meta"in a&&{meta:a.meta}),"error"in a&&{error:a.error})}return{type:e,payload:n[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(t){return t.type===e},n}var Fe=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return xe(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Se([void 0],e[0].concat(this)))):new(t.bind.apply(t,Se([void 0],e.concat(this))))},t}(Array),ze=function(e){function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=e.apply(this,n)||this;return Object.setPrototypeOf(a,t.prototype),a}return xe(t,e),Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.prototype.concat.apply(this,t)},t.prototype.prepend=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return 1===e.length&&Array.isArray(e[0])?new(t.bind.apply(t,Se([void 0],e[0].concat(this)))):new(t.bind.apply(t,Se([void 0],e.concat(this))))},t}(Array);function Ve(e){return o(e)?re(e,(function(){})):e}function Ue(){return function(e){return function(e){void 0===e&&(e={});var t=e.thunk,n=void 0===t||t,r=(e.immutableCheck,e.serializableCheck,e.actionCreatorCheck,new Fe);n&&(!function(e){return"boolean"===typeof e}(n)?r.push(we.withExtraArgument(n.extraArgument)):r.push(we));0;return r}(e)}}function Be(e){var t,n={},r=[],a={addCase:function(e,t){var r="string"===typeof e?e:e.type;if(!r)throw new Error("`builder.addCase` cannot be called with an empty action type");if(r in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[r]=t,a},addMatcher:function(e,t){return r.push({matcher:e,reducer:t}),a},addDefaultCase:function(e){return t=e,a}};return e(a),[n,r,t]}function Ke(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");var n,r="function"==typeof e.initialState?e.initialState:Ve(e.initialState),l=e.reducers||{},i=Object.keys(l),u={},s={},c={};function f(){var t="function"===typeof e.extraReducers?Be(e.extraReducers):[e.extraReducers],n=t[0],l=void 0===n?{}:n,i=t[1],u=void 0===i?[]:i,c=t[2],f=void 0===c?void 0:c,d=Ie(Ie({},l),s);return function(e,t,n,r){void 0===n&&(n=[]);var l,i="function"===typeof t?Be(t):[t,n,r],u=i[0],s=i[1],c=i[2];if(function(e){return"function"===typeof e}(e))l=function(){return Ve(e())};else{var f=Ve(e);l=function(){return f}}function d(e,t){void 0===e&&(e=l());var n=Se([u[t.type]],s.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[c]),n.reduce((function(e,n){if(n){var r;if(a(e))return void 0===(r=n(e,t))?e:r;if(o(e))return re(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return d.getInitialState=l,d}(r,(function(e){for(var t in d)e.addCase(t,d[t]);for(var n=0,r=u;n<r.length;n++){var a=r[n];e.addMatcher(a.matcher,a.reducer)}f&&e.addDefaultCase(f)}))}return i.forEach((function(e){var n,r,a=l[e],o=t+"/"+e;"reducer"in a?(n=a.reducer,r=a.prepare):n=a,u[e]=n,s[o]=n,c[e]=r?De(o,r):De(o)})),{name:t,reducer:function(e,t){return n||(n=f()),n(e,t)},actions:c,caseReducers:u,getInitialState:function(){return n||(n=f()),n.getInitialState()}}}var Qe=function(e){void 0===e&&(e=21);for(var t="",n=e;n--;)t+="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW"[64*Math.random()|0];return t},He=["name","message","stack","code"],We=function(e,t){this.payload=e,this.meta=t},Ge=function(e,t){this.payload=e,this.meta=t},Je=function(e){if("object"===typeof e&&null!==e){for(var t={},n=0,r=He;n<r.length;n++){var a=r[n];"string"===typeof e[a]&&(t[a]=e[a])}return t}return{message:String(e)}};!function(){function e(e,t,n){var r=De(e+"/fulfilled",(function(e,t,n,r){return{payload:e,meta:Me(Ie({},r||{}),{arg:n,requestId:t,requestStatus:"fulfilled"})}})),a=De(e+"/pending",(function(e,t,n){return{payload:void 0,meta:Me(Ie({},n||{}),{arg:t,requestId:e,requestStatus:"pending"})}})),o=De(e+"/rejected",(function(e,t,r,a,o){return{payload:a,error:(n&&n.serializeError||Je)(e||"Rejected"),meta:Me(Ie({},o||{}),{arg:r,requestId:t,rejectedWithValue:!!a,requestStatus:"rejected",aborted:"AbortError"===(null==e?void 0:e.name),condition:"ConditionError"===(null==e?void 0:e.name)})}})),l="undefined"!==typeof AbortController?AbortController:function(){function e(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return e.prototype.abort=function(){0},e}();return Object.assign((function(e){return function(i,u,s){var c,f=(null==n?void 0:n.idGenerator)?n.idGenerator(e):Qe(),d=new l;function p(e){c=e,d.abort()}var h=function(){return Te(this,null,(function(){var l,h,v,m,y,g;return ke(this,(function(b){switch(b.label){case 0:return b.trys.push([0,4,,5]),m=null==(l=null==n?void 0:n.condition)?void 0:l.call(n,e,{getState:u,extra:s}),null===(w=m)||"object"!==typeof w||"function"!==typeof w.then?[3,2]:[4,m];case 1:m=b.sent(),b.label=2;case 2:if(!1===m||d.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return!0,y=new Promise((function(e,t){return d.signal.addEventListener("abort",(function(){return t({name:"AbortError",message:c||"Aborted"})}))})),i(a(f,e,null==(h=null==n?void 0:n.getPendingMeta)?void 0:h.call(n,{requestId:f,arg:e},{getState:u,extra:s}))),[4,Promise.race([y,Promise.resolve(t(e,{dispatch:i,getState:u,extra:s,requestId:f,signal:d.signal,abort:p,rejectWithValue:function(e,t){return new We(e,t)},fulfillWithValue:function(e,t){return new Ge(e,t)}})).then((function(t){if(t instanceof We)throw t;return t instanceof Ge?r(t.payload,f,e,t.meta):r(t,f,e)}))])];case 3:return v=b.sent(),[3,5];case 4:return g=b.sent(),v=g instanceof We?o(null,f,e,g.payload,g.meta):o(g,f,e),[3,5];case 5:return n&&!n.dispatchConditionRejection&&o.match(v)&&v.meta.condition||i(v),[2,v]}var w}))}))}();return Object.assign(h,{abort:p,requestId:f,arg:e,unwrap:function(){return h.then(Ye)}})}}),{pending:a,rejected:o,fulfilled:r,typePrefix:e})}e.withTypes=function(){return e}}();function Ye(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}Object.assign;var qe="listenerMiddleware";De(qe+"/add"),De(qe+"/removeAll"),De(qe+"/remove");"function"===typeof queueMicrotask&&queueMicrotask.bind("undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:globalThis);var Xe,Ze=function(e){return function(t){setTimeout(t,e)}};"undefined"!==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame:Ze(10);z();var _e=Ke({name:"DataUser",initialState:{dataConstruct:JSON.parse(localStorage.getItem("localUser"))||[]},reducers:{setDataConstruct:function(e,t){e.dataConstruct=t.payload}}}),$e=_e.actions.setDataConstruct,et=_e.reducer,tt=Ke({name:"CalloriasAll",initialState:{CalloriasAll:JSON.parse(localStorage.getItem("CalloriasAll"))||[]},reducers:{setCalloriasAll:function(e,t){e.CalloriasAll=t.payload}}}),nt=tt.actions.setCalloriasAll,rt=tt.reducer,at=Ke({name:"CalloriasSum",initialState:{CalloriasSum:[]},reducers:{setCalloriasSum:function(e,t){e.CalloriasSum=t.payload}}}),ot=at.actions.setCalloriasSum,lt=function(e){var t,n=Ue(),r=e||{},a=r.reducer,o=void 0===a?void 0:a,l=r.middleware,i=void 0===l?n():l,u=r.devTools,s=void 0===u||u,c=r.preloadedState,f=void 0===c?void 0:c,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof o)t=o;else{if(!Re(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=ve(o)}var h=i;"function"===typeof h&&(h=h(n));var v=ye.apply(void 0,h),m=me;s&&(m=Le(Ie({trace:!1},"object"===typeof s&&s)));var y=new ze(v),g=y;return Array.isArray(p)?g=Se([v],p):"function"===typeof p&&(g=p(y)),he(t,f,m.apply(void 0,g))}({reducer:{UserSlice:et,CalloriasAll:rt,CalloriasSum:at.reducer}}),it=n(248),ut=n(327),st=n(164);var ct=function(e){e()},ft=function(){return ct},dt=Symbol.for("react-redux-context"),pt="undefined"!==typeof globalThis?globalThis:{};function ht(){var t;if(!e.createContext)return{};var n=null!=(t=pt[dt])?t:pt[dt]=new Map,r=n.get(e.createContext);return r||(r=e.createContext(null),n.set(e.createContext,r)),r}var vt=ht();function mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt;return function(){return(0,e.useContext)(t)}}var yt=mt(),gt=function(){throw new Error("uSES not initialized!")},bt=function(e,t){return e===t};function wt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt,n=t===vt?yt:mt(t);return function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a="function"===typeof r?{equalityFn:r}:r,o=a.equalityFn,l=void 0===o?bt:o,i=a.stabilityCheck,u=void 0===i?void 0:i;a.noopCheck;var s=n(),c=s.store,f=s.subscription,d=s.getServerState,p=s.stabilityCheck,h=(s.noopCheck,(0,e.useRef)(!0),(0,e.useCallback)(le({},t.name,(function(e){return t(e)}))[t.name],[t,p,u])),v=gt(f.addNestedSub,c.getState,d||c.getState,h,l);return(0,e.useDebugValue)(v),v}}var xt=wt();n(110),n(900);var kt={notify:function(){},get:function(){return[]}};function St(e,t){var n,r=kt,a=0,o=!1;function l(){s.onStateChange&&s.onStateChange()}function i(){a++,n||(n=t?t.addNestedSub(l):e.subscribe(l),r=function(){var e=ft(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){r&&null!==t&&(r=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}())}function u(){a--,n&&0===a&&(n(),n=void 0,r.clear(),r=kt)}var s={addNestedSub:function(e){i();var t=r.subscribe(e),n=!1;return function(){n||(n=!0,t(),u())}},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:l,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,i())},tryUnsubscribe:function(){o&&(o=!1,u())},getListeners:function(){return r}};return s}var Et=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement)?e.useLayoutEffect:e.useEffect;var Ct=function(t){var n=t.store,r=t.context,a=t.children,o=t.serverState,l=t.stabilityCheck,i=void 0===l?"once":l,u=t.noopCheck,s=void 0===u?"once":u,c=e.useMemo((function(){var e=St(n);return{store:n,subscription:e,getServerState:o?function(){return o}:void 0,stabilityCheck:i,noopCheck:s}}),[n,o,i,s]),f=e.useMemo((function(){return n.getState()}),[n]);Et((function(){var e=c.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),f!==n.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=void 0}}),[c,f]);var d=r||vt;return e.createElement(d.Provider,{value:c},a)};function At(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt,t=e===vt?yt:mt(e);return function(){return t().store}}var Nt=At();function Pt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vt,t=e===vt?Nt:At(e);return function(){return t().dispatch}}var jt,Ot=Pt();function It(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mt(e,t){if(e){if("string"===typeof e)return It(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?It(e,t):void 0}}function Tt(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,l,i=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(s)throw a}}return i}}(e,t)||Mt(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}!function(e){gt=e}(ut.useSyncExternalStoreWithSelector),function(e){e}(it.useSyncExternalStore),jt=st.unstable_batchedUpdates,ct=jt;var Lt=n(184);var Rt=function(){return(0,Lt.jsxs)("div",{className:"KcalDiagramFlex",children:[(0,Lt.jsx)("h2",{children:"\u041c\u043e\u0439 \u0434\u043d\u0435\u0432\u043d\u0438\u043a"}),(0,Lt.jsx)("p",{className:"CaloriasText",children:"Calories"})]})};var Dt=function(){var t=Ot(),n=xt((function(e){return e.CalloriasAll.CalloriasAll})),r=xt((function(e){return e.UserSlice.dataConstruct})),a=xt((function(e){return e.CalloriasSum.CalloriasSum})),o=1.5*r.weight,l=1*r.weight,i=2*r.weight;return(0,e.useEffect)((function(){"\u041c\u0443\u0436\u0441\u043a\u043e\u0439"===r.gender?t(nt(10*r.weight+6.25*r.height-5*r.age+5)):"\u0416\u0435\u043d\u0441\u043a\u0438\u0439"===r.gender&&t(nt(10*r.weight+6.25*r.height-5*r.age-161))}),[r]),(0,Lt.jsxs)("div",{className:"KcalNumber",children:[(0,Lt.jsxs)("p",{className:"CaloriasAll",children:[Math.round(n),(0,Lt.jsx)("span",{className:"CaloriasMini",children:"\u043a\u043a\u0430\u043b"})]}),(0,Lt.jsxs)("div",{className:"FPC-Flex",children:[(0,Lt.jsxs)("div",{className:"FPC",children:[(0,Lt.jsx)("p",{children:"\u0416\u0438\u0440\u044b"}),(0,Lt.jsx)("progress",{className:"LineBlue",id:"line1",max:l,value:a.sumFats}),(0,Lt.jsxs)("span",{children:[Math.round(a.sumFats)," / ",Math.round(l)," \u0433"]})]}),(0,Lt.jsxs)("div",{className:"FPC",children:[(0,Lt.jsx)("p",{children:"\u0411\u0435\u043b\u043a\u0438"}),(0,Lt.jsx)("progress",{className:"LineOrang",id:"line1",max:o,value:a.sumProteins}),(0,Lt.jsxs)("span",{children:[Math.round(a.sumProteins)," / ",Math.round(o)," \u0433"]})]}),(0,Lt.jsxs)("div",{className:"FPC",children:[(0,Lt.jsx)("p",{children:"\u0423\u0433\u043b\u0435\u0432\u043e\u0434\u044b"}),(0,Lt.jsx)("progress",{className:"LineRed",id:"line1",max:i,value:a.sumCarbohydrates}),(0,Lt.jsxs)("span",{children:[Math.round(a.sumCarbohydrates)," / ",Math.round(i)," \u0433"]})]})]})]})},Ft=function(e,t){return Ft=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},Ft(e,t)};var zt=50,Vt=50;function Ut(t){var n=t.className,r=t.counterClockwise,a=t.dashRatio,o=t.pathRadius,l=t.strokeWidth,i=t.style;return(0,e.createElement)("path",{className:n,style:Object.assign({},i,Kt({pathRadius:o,dashRatio:a,counterClockwise:r})),d:Bt({pathRadius:o,counterClockwise:r}),strokeWidth:l,fillOpacity:0})}function Bt(e){var t=e.pathRadius,n=e.counterClockwise?1:0;return"\n      M "+zt+","+Vt+"\n      m 0,-"+t+"\n      a "+t+","+t+" "+n+" 1 1 0,"+2*t+"\n      a "+t+","+t+" "+n+" 1 1 0,-"+2*t+"\n    "}function Kt(e){var t=e.counterClockwise,n=e.dashRatio,r=e.pathRadius,a=2*Math.PI*r,o=(1-n)*a;return{strokeDasharray:a+"px "+a+"px",strokeDashoffset:(t?-o:o)+"px"}}var Qt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}Ft(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,t),n.prototype.getBackgroundPadding=function(){return this.props.background?this.props.backgroundPadding:0},n.prototype.getPathRadius=function(){return 50-this.props.strokeWidth/2-this.getBackgroundPadding()},n.prototype.getPathRatio=function(){var e=this.props,t=e.value,n=e.minValue,r=e.maxValue;return(Math.min(Math.max(t,n),r)-n)/(r-n)},n.prototype.render=function(){var t=this.props,n=t.circleRatio,r=t.className,a=t.classes,o=t.counterClockwise,l=t.styles,i=t.strokeWidth,u=t.text,s=this.getPathRadius(),c=this.getPathRatio();return(0,e.createElement)("svg",{className:a.root+" "+r,style:l.root,viewBox:"0 0 100 100","data-test-id":"CircularProgressbar"},this.props.background?(0,e.createElement)("circle",{className:a.background,style:l.background,cx:zt,cy:Vt,r:50}):null,(0,e.createElement)(Ut,{className:a.trail,counterClockwise:o,dashRatio:n,pathRadius:s,strokeWidth:i,style:l.trail}),(0,e.createElement)(Ut,{className:a.path,counterClockwise:o,dashRatio:c*n,pathRadius:s,strokeWidth:i,style:l.path}),u?(0,e.createElement)("text",{className:a.text,style:l.text,x:zt,y:Vt},u):null)},n.defaultProps={background:!1,backgroundPadding:0,circleRatio:1,classes:{root:"CircularProgressbar",trail:"CircularProgressbar-trail",path:"CircularProgressbar-path",text:"CircularProgressbar-text",background:"CircularProgressbar-background"},counterClockwise:!1,className:"",maxValue:100,minValue:0,strokeWidth:8,styles:{root:{},trail:{},path:{},text:{},background:{}},text:""},n}(e.Component);var Ht=function(){var e=xt((function(e){return e.CalloriasAll.CalloriasAll})),t=xt((function(e){return e.CalloriasSum.CalloriasSum})),n=100*t.sumKcal/e;return(0,Lt.jsxs)("div",{className:"canvas",children:[(0,Lt.jsx)("div",{className:"circleProgressbar",children:(0,Lt.jsx)(Qt,{value:n,circleRatio:.7,strokeWidth:12,styles:{root:{transform:"rotate(0.66turn)"},path:{stroke:"rgb(138, 234, 146)"}}})}),(0,Lt.jsx)("div",{className:"circleProgressbar__text",children:(0,Lt.jsxs)("p",{children:[t.sumKcal," / ",Math.round(e)]})})]})};var Wt=function(){return(0,Lt.jsxs)("div",{className:"KcalDiagram",children:[(0,Lt.jsx)(Rt,{}),(0,Lt.jsxs)("div",{className:"KcalDiagramFlexMain",children:[(0,Lt.jsx)(Dt,{}),(0,Lt.jsx)(Ht,{})]})]})},Gt={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Jt=e.createContext&&e.createContext(Gt),Yt=function(){return Yt=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},Yt.apply(this,arguments)},qt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function Xt(t){return t&&t.map((function(t,n){return e.createElement(t.tag,Yt({key:n},t.attr),Xt(t.child))}))}function Zt(t){return function(n){return e.createElement(_t,Yt({attr:Yt({},t.attr)},n),Xt(t.child))}}function _t(t){var n=function(n){var r,a=t.attr,o=t.size,l=t.title,i=qt(t,["attr","size","title"]),u=o||n.size||"1em";return n.className&&(r=n.className),t.className&&(r=(r?r+" ":"")+t.className),e.createElement("svg",Yt({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},n.attr,a,i,{className:r,style:Yt(Yt({color:t.color||n.color},n.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),l&&e.createElement("title",null,l),t.children)};return void 0!==Jt?e.createElement(Jt.Consumer,null,(function(e){return n(e)})):n(Gt)}function $t(e){return Zt({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"m21.88 2.15-1.2.4a13.84 13.84 0 0 1-6.41.64 11.87 11.87 0 0 0-6.68.9A7.23 7.23 0 0 0 3.3 9.5a8.65 8.65 0 0 0 1.47 6.6c-.06.21-.12.42-.17.63A22.6 22.6 0 0 0 4 22h2a30.69 30.69 0 0 1 .59-4.32 9.25 9.25 0 0 0 4.52 1.11 11 11 0 0 0 4.28-.87C23 14.67 22 3.86 22 3.41zm-7.27 13.93c-2.61 1.11-5.73.92-7.48-.45a13.79 13.79 0 0 1 1.21-2.84A10.17 10.17 0 0 1 9.73 11a9 9 0 0 1 1.81-1.42A12 12 0 0 1 16 8V7a11.43 11.43 0 0 0-5.26 1.08 10.28 10.28 0 0 0-4.12 3.65 15.07 15.07 0 0 0-1 1.87 7 7 0 0 1-.38-3.73 5.24 5.24 0 0 1 3.14-4 8.93 8.93 0 0 1 3.82-.84c.62 0 1.23.06 1.87.11a16.2 16.2 0 0 0 6-.35C20 7.55 19.5 14 14.61 16.08z"}}]})(e)}function en(e){return Zt({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{d:"M16 7.992C16 3.58 12.416 0 8 0S0 3.58 0 7.992c0 2.43 1.104 4.62 2.832 6.09.016.016.032.016.032.032.144.112.288.224.448.336.08.048.144.111.224.175A7.98 7.98 0 0 0 8.016 16a7.98 7.98 0 0 0 4.48-1.375c.08-.048.144-.111.224-.16.144-.111.304-.223.448-.335.016-.016.032-.016.032-.032 1.696-1.487 2.8-3.676 2.8-6.106zm-8 7.001c-1.504 0-2.88-.48-4.016-1.279.016-.128.048-.255.08-.383a4.17 4.17 0 0 1 .416-.991c.176-.304.384-.576.64-.816.24-.24.528-.463.816-.639.304-.176.624-.304.976-.4A4.15 4.15 0 0 1 8 10.342a4.185 4.185 0 0 1 2.928 1.166c.368.368.656.8.864 1.295.112.288.192.592.24.911A7.03 7.03 0 0 1 8 14.993zm-2.448-7.4a2.49 2.49 0 0 1-.208-1.024c0-.351.064-.703.208-1.023.144-.32.336-.607.576-.847.24-.24.528-.431.848-.575.32-.144.672-.208 1.024-.208.368 0 .704.064 1.024.208.32.144.608.336.848.575.24.24.432.528.576.847.144.32.208.672.208 1.023 0 .368-.064.704-.208 1.023a2.84 2.84 0 0 1-.576.848 2.84 2.84 0 0 1-.848.575 2.715 2.715 0 0 1-2.064 0 2.84 2.84 0 0 1-.848-.575 2.526 2.526 0 0 1-.56-.848zm7.424 5.306c0-.032-.016-.048-.016-.08a5.22 5.22 0 0 0-.688-1.406 4.883 4.883 0 0 0-1.088-1.135 5.207 5.207 0 0 0-1.04-.608 2.82 2.82 0 0 0 .464-.383 4.2 4.2 0 0 0 .624-.784 3.624 3.624 0 0 0 .528-1.934 3.71 3.71 0 0 0-.288-1.47 3.799 3.799 0 0 0-.816-1.199 3.845 3.845 0 0 0-1.2-.8 3.72 3.72 0 0 0-1.472-.287 3.72 3.72 0 0 0-1.472.288 3.631 3.631 0 0 0-1.2.815 3.84 3.84 0 0 0-.8 1.199 3.71 3.71 0 0 0-.288 1.47c0 .352.048.688.144 1.007.096.336.224.64.4.927.16.288.384.544.624.784.144.144.304.271.48.383a5.12 5.12 0 0 0-1.04.624c-.416.32-.784.703-1.088 1.119a4.999 4.999 0 0 0-.688 1.406c-.016.032-.016.064-.016.08C1.776 11.636.992 9.91.992 7.992.992 4.14 4.144.991 8 .991s7.008 3.149 7.008 7.001a6.96 6.96 0 0 1-2.032 4.907z"}}]})(e)}var tn=function(e){var t=e.setModalActive;return(0,Lt.jsxs)("div",{className:"Header",children:[(0,Lt.jsxs)("h1",{children:["Just Healty ",(0,Lt.jsx)($t,{})]}),(0,Lt.jsxs)("button",{className:"headerAccountFlex",onClick:function(){t(!0)},children:[(0,Lt.jsx)(en,{size:28}),(0,Lt.jsx)("p",{children:"\u041c\u043e\u0439 \u0410\u043a\u043a\u0430\u0443\u043d\u0442"})]})]})};function nn(e){var t=e.setModalContent,n=xt((function(e){return e.UserSlice.dataConstruct}));return(0,Lt.jsxs)("div",{className:"ModalAccountFlex",children:[(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsxs)("p",{className:"ModalAccountText",children:["\u0412\u0435\u0441: ",n.weight]})}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsxs)("p",{className:"ModalAccountText",children:["\u0420\u043e\u0441\u0442: ",n.height]})}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsxs)("p",{className:"ModalAccountText",children:["\u0412\u043e\u0437\u0440\u0430\u0441\u0442: ",n.age]})}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsxs)("p",{className:"ModalAccountText",children:["\u041f\u043e\u043b: ",n.gender]})}),(0,Lt.jsx)("button",{className:"ModalAccountBtn",onClick:function(){return t(!0)},children:"\u0418\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c"})]})}function rn(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var an=n(694),on=n.n(an),ln=n(7),un=n.n(ln),sn=["as","className","type","tooltip"],cn={type:un().string,tooltip:un().bool,as:un().elementType},fn=e.forwardRef((function(e,t){var n=e.as,r=void 0===n?"div":n,a=e.className,o=e.type,l=void 0===o?"valid":o,i=e.tooltip,u=void 0!==i&&i,s=rn(e,sn);return(0,Lt.jsx)(r,ue(ue({},s),{},{ref:t,className:on()(a,"".concat(l,"-").concat(u?"tooltip":"feedback"))}))}));fn.displayName="Feedback",fn.propTypes=cn;var dn=fn,pn=e.createContext({}),hn=["xxl","xl","lg","md","sm","xs"],vn=e.createContext({prefixes:{},breakpoints:hn,minBreakpoint:"xs"});vn.Consumer,vn.Provider;function mn(t,n){var r=(0,e.useContext)(vn).prefixes;return t||r[n]||n}var yn=["id","bsPrefix","className","type","isValid","isInvalid","as"],gn=e.forwardRef((function(t,n){var r=t.id,a=t.bsPrefix,o=t.className,l=t.type,i=void 0===l?"checkbox":l,u=t.isValid,s=void 0!==u&&u,c=t.isInvalid,f=void 0!==c&&c,d=t.as,p=void 0===d?"input":d,h=rn(t,yn),v=(0,e.useContext)(pn).controlId;return a=mn(a,"form-check-input"),(0,Lt.jsx)(p,ue(ue({},h),{},{ref:n,type:i,id:r||v,className:on()(o,a,s&&"is-valid",f&&"is-invalid")}))}));gn.displayName="FormCheckInput";var bn=gn,wn=["bsPrefix","className","htmlFor"],xn=e.forwardRef((function(t,n){var r=t.bsPrefix,a=t.className,o=t.htmlFor,l=rn(t,wn),i=(0,e.useContext)(pn).controlId;return r=mn(r,"form-check-label"),(0,Lt.jsx)("label",ue(ue({},l),{},{ref:n,htmlFor:o||i,className:on()(a,r)}))}));xn.displayName="FormCheckLabel";var kn=xn;var Sn=["id","bsPrefix","bsSwitchPrefix","inline","reverse","disabled","isValid","isInvalid","feedbackTooltip","feedback","feedbackType","className","style","title","type","label","children","as"],En=e.forwardRef((function(t,n){var r=t.id,a=t.bsPrefix,o=t.bsSwitchPrefix,l=t.inline,i=void 0!==l&&l,u=t.reverse,s=void 0!==u&&u,c=t.disabled,f=void 0!==c&&c,d=t.isValid,p=void 0!==d&&d,h=t.isInvalid,v=void 0!==h&&h,m=t.feedbackTooltip,y=void 0!==m&&m,g=t.feedback,b=t.feedbackType,w=t.className,x=t.style,k=t.title,S=void 0===k?"":k,E=t.type,C=void 0===E?"checkbox":E,A=t.label,N=t.children,P=t.as,j=void 0===P?"input":P,O=rn(t,Sn);a=mn(a,"form-check"),o=mn(o,"form-switch");var I=(0,e.useContext)(pn).controlId,M=(0,e.useMemo)((function(){return{controlId:r||I}}),[I,r]),T=!N&&null!=A&&!1!==A||function(t,n){return e.Children.toArray(t).some((function(t){return e.isValidElement(t)&&t.type===n}))}(N,kn),L=(0,Lt.jsx)(bn,ue(ue({},O),{},{type:"switch"===C?"checkbox":C,ref:n,isValid:p,isInvalid:v,disabled:f,as:j}));return(0,Lt.jsx)(pn.Provider,{value:M,children:(0,Lt.jsx)("div",{style:x,className:on()(w,T&&a,i&&"".concat(a,"-inline"),s&&"".concat(a,"-reverse"),"switch"===C&&o),children:N||(0,Lt.jsxs)(Lt.Fragment,{children:[L,T&&(0,Lt.jsx)(kn,{title:S,children:A}),g&&(0,Lt.jsx)(dn,{type:b,tooltip:y,children:g})]})})})}));En.displayName="FormCheck";var Cn=Object.assign(En,{Input:bn,Label:kn}),An=(n(391),["bsPrefix","type","size","htmlSize","id","className","isValid","isInvalid","plaintext","readOnly","as"]),Nn=e.forwardRef((function(t,n){var r=t.bsPrefix,a=t.type,o=t.size,l=t.htmlSize,i=t.id,u=t.className,s=t.isValid,c=void 0!==s&&s,f=t.isInvalid,d=void 0!==f&&f,p=t.plaintext,h=t.readOnly,v=t.as,m=void 0===v?"input":v,y=rn(t,An),g=(0,e.useContext)(pn).controlId;return r=mn(r,"form-control"),(0,Lt.jsx)(m,ue(ue({},y),{},{type:a,size:l,ref:n,readOnly:h,id:i||g,className:on()(u,p?"".concat(r,"-plaintext"):r,o&&"".concat(r,"-").concat(o),"color"===a&&"".concat(r,"-color"),c&&"is-valid",d&&"is-invalid")}))}));Nn.displayName="FormControl";var Pn=Object.assign(Nn,{Feedback:dn}),jn=["className","bsPrefix","as"],On=e.forwardRef((function(e,t){var n=e.className,r=e.bsPrefix,a=e.as,o=void 0===a?"div":a,l=rn(e,jn);return r=mn(r,"form-floating"),(0,Lt.jsx)(o,ue({ref:t,className:on()(n,r)},l))}));On.displayName="FormFloating";var In=On,Mn=["controlId","as"],Tn=e.forwardRef((function(t,n){var r=t.controlId,a=t.as,o=void 0===a?"div":a,l=rn(t,Mn),i=(0,e.useMemo)((function(){return{controlId:r}}),[r]);return(0,Lt.jsx)(pn.Provider,{value:i,children:(0,Lt.jsx)(o,ue(ue({},l),{},{ref:n}))})}));Tn.displayName="FormGroup";var Ln=Tn,Rn=["as","bsPrefix","className"],Dn=["className"];function Fn(t){var n=t.as,r=t.bsPrefix,a=t.className,o=rn(t,Rn);r=mn(r,"col");var l=(0,e.useContext)(vn).breakpoints,i=(0,e.useContext)(vn).minBreakpoint,u=[],s=[];return l.forEach((function(e){var t,n,a,l=o[e];delete o[e],"object"===typeof l&&null!=l?(t=l.span,n=l.offset,a=l.order):t=l;var c=e!==i?"-".concat(e):"";t&&u.push(!0===t?"".concat(r).concat(c):"".concat(r).concat(c,"-").concat(t)),null!=a&&s.push("order".concat(c,"-").concat(a)),null!=n&&s.push("offset".concat(c,"-").concat(n))})),[ue(ue({},o),{},{className:on().apply(void 0,[a].concat(u,s))}),{as:n,bsPrefix:r,spans:u}]}var zn=e.forwardRef((function(e,t){var n=Tt(Fn(e),2),r=n[0],a=r.className,o=rn(r,Dn),l=n[1],i=l.as,u=void 0===i?"div":i,s=l.bsPrefix,c=l.spans;return(0,Lt.jsx)(u,ue(ue({},o),{},{ref:t,className:on()(a,!c.length&&s)}))}));zn.displayName="Col";var Vn=zn,Un=["as","bsPrefix","column","visuallyHidden","className","htmlFor"],Bn=e.forwardRef((function(t,n){var r=t.as,a=void 0===r?"label":r,o=t.bsPrefix,l=t.column,i=void 0!==l&&l,u=t.visuallyHidden,s=void 0!==u&&u,c=t.className,f=t.htmlFor,d=rn(t,Un),p=(0,e.useContext)(pn).controlId;o=mn(o,"form-label");var h="col-form-label";"string"===typeof i&&(h="".concat(h," ").concat(h,"-").concat(i));var v=on()(c,o,s&&"visually-hidden",i&&h);return f=f||p,i?(0,Lt.jsx)(Vn,ue({ref:n,as:"label",className:v,htmlFor:f},d)):(0,Lt.jsx)(a,ue({ref:n,className:v,htmlFor:f},d))}));Bn.displayName="FormLabel";var Kn=Bn,Qn=["bsPrefix","className","id"],Hn=e.forwardRef((function(t,n){var r=t.bsPrefix,a=t.className,o=t.id,l=rn(t,Qn),i=(0,e.useContext)(pn).controlId;return r=mn(r,"form-range"),(0,Lt.jsx)("input",ue(ue({},l),{},{type:"range",ref:n,className:on()(a,r),id:o||i}))}));Hn.displayName="FormRange";var Wn=Hn,Gn=["bsPrefix","size","htmlSize","className","isValid","isInvalid","id"],Jn=e.forwardRef((function(t,n){var r=t.bsPrefix,a=t.size,o=t.htmlSize,l=t.className,i=t.isValid,u=void 0!==i&&i,s=t.isInvalid,c=void 0!==s&&s,f=t.id,d=rn(t,Gn),p=(0,e.useContext)(pn).controlId;return r=mn(r,"form-select"),(0,Lt.jsx)("select",ue(ue({},d),{},{size:o,ref:n,className:on()(l,r,a&&"".concat(r,"-").concat(a),u&&"is-valid",c&&"is-invalid"),id:f||p}))}));Jn.displayName="FormSelect";var Yn=Jn,qn=["bsPrefix","className","as","muted"],Xn=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,a=e.as,o=void 0===a?"small":a,l=e.muted,i=rn(e,qn);return n=mn(n,"form-text"),(0,Lt.jsx)(o,ue(ue({},i),{},{ref:t,className:on()(r,n,l&&"text-muted")}))}));Xn.displayName="FormText";var Zn=Xn,_n=e.forwardRef((function(e,t){return(0,Lt.jsx)(Cn,ue(ue({},e),{},{ref:t,type:"switch"}))}));_n.displayName="Switch";var $n=Object.assign(_n,{Input:Cn.Input,Label:Cn.Label}),er=["bsPrefix","className","children","controlId","label"],tr=e.forwardRef((function(e,t){var n=e.bsPrefix,r=e.className,a=e.children,o=e.controlId,l=e.label,i=rn(e,er);return n=mn(n,"form-floating"),(0,Lt.jsxs)(Ln,ue(ue({ref:t,className:on()(r,n),controlId:o},i),{},{children:[a,(0,Lt.jsx)("label",{htmlFor:o,children:l})]}))}));tr.displayName="FloatingLabel";var nr=tr,rr=["className","validated","as"],ar={_ref:un().any,validated:un().bool,as:un().elementType},or=e.forwardRef((function(e,t){var n=e.className,r=e.validated,a=e.as,o=void 0===a?"form":a,l=rn(e,rr);return(0,Lt.jsx)(o,ue(ue({},l),{},{ref:t,className:on()(n,r&&"was-validated")}))}));or.displayName="Form",or.propTypes=ar;var lr=Object.assign(or,{Group:Ln,Control:Pn,Floating:In,Check:Cn,Switch:$n,Label:Kn,Text:Zn,Range:Wn,Select:Yn,FloatingLabel:nr});function ir(e){return function(e){if(Array.isArray(e))return It(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Mt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ur(){ur=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},l=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,l=Object.create(o.prototype),i=new O(r||[]);return a(l,"_invoke",{value:A(e,n,i)}),l}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",v="completed",m={};function y(){}function g(){}function b(){}var w={};s(w,l,(function(){return this}));var x=Object.getPrototypeOf,k=x&&x(x(I([])));k&&k!==n&&r.call(k,l)&&(w=k);var S=b.prototype=y.prototype=Object.create(w);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function C(e,t){function n(a,o,l,i){var u=f(e[a],e,o);if("throw"!==u.type){var s=u.arg,c=s.value;return c&&"object"==ae(c)&&r.call(c,"__await")?t.resolve(c.__await).then((function(e){n("next",e,l,i)}),(function(e){n("throw",e,l,i)})):t.resolve(c).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,i)}))}i(u.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t((function(t,a){n(e,r,t,a)}))}return o=o?o.then(a,a):a()}})}function A(t,n,r){var a=d;return function(o,l){if(a===h)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw l;return{value:e,done:!0}}for(r.method=o,r.arg=l;;){var i=r.delegate;if(i){var u=N(i,r);if(u){if(u===m)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=h;var s=f(t,n,r);if("normal"===s.type){if(a=r.done?v:p,s.arg===m)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(a=v,r.method="throw",r.arg=s.arg)}}}function N(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,N(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var l=o.arg;return l?l.done?(n[t.resultName]=l.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):l:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(t){if(t||""===t){var n=t[l];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(ae(t)+" is not iterable")}return g.prototype=b,a(S,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:g,configurable:!0}),g.displayName=s(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},E(C.prototype),s(C.prototype,i,(function(){return this})),t.AsyncIterator=C,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var l=new C(c(e,n,r,a),o);return t.isGeneratorFunction(n)?l:l.next().then((function(e){return e.done?e.value:l.next()}))},E(S),s(S,u,"Generator"),s(S,l,(function(){return this})),s(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=I,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(j),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function a(r,a){return i.type="throw",i.arg=t,n.next=r,a&&(n.method="next",n.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var l=this.tryEntries[o],i=l.completion;if("root"===l.tryLoc)return a("end");if(l.tryLoc<=this.prev){var u=r.call(l,"catchLoc"),s=r.call(l,"finallyLoc");if(u&&s){if(this.prev<l.catchLoc)return a(l.catchLoc,!0);if(this.prev<l.finallyLoc)return a(l.finallyLoc)}else if(u){if(this.prev<l.catchLoc)return a(l.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<l.finallyLoc)return a(l.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var l=o?o.completion:{};return l.type=e,l.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(l)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;j(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:I(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function sr(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Mt(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,i=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return l=e.done,e},e:function(e){i=!0,o=e},f:function(){try{l||null==n.return||n.return()}finally{if(i)throw o}}}}function cr(e,t,n,r,a,o,l){try{var i=e[o](l),u=i.value}catch(s){return void n(s)}i.done?t(u):Promise.resolve(u).then(r,a)}function fr(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function l(e){cr(o,r,a,l,i,"next",e)}function i(e){cr(o,r,a,l,i,"throw",e)}l(void 0)}))}}var dr=["name"],pr=["_f"],hr=["_f"],vr=function(e){return"checkbox"===e.type},mr=function(e){return e instanceof Date},yr=function(e){return null==e},gr=function(e){return"object"===typeof e},br=function(e){return!yr(e)&&!Array.isArray(e)&&gr(e)&&!mr(e)},wr=function(e){return br(e)&&e.target?vr(e.target)?e.target.checked:e.target.value:e},xr=function(e,t){return e.has(function(e){return e.substring(0,e.search(/\.\d+(\.|$)/))||e}(t))},kr=function(e){var t=e.constructor&&e.constructor.prototype;return br(t)&&t.hasOwnProperty("isPrototypeOf")},Sr="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function Er(e){var t,n=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else{if(Sr&&(e instanceof Blob||e instanceof FileList)||!n&&!br(e))return e;if(t=n?[]:{},n||kr(e))for(var r in e)e.hasOwnProperty(r)&&(t[r]=Er(e[r]));else t=e}return t}var Cr=function(e){return Array.isArray(e)?e.filter(Boolean):[]},Ar=function(e){return void 0===e},Nr=function(e,t,n){if(!t||!br(e))return n;var r=Cr(t.split(/[,[\].]+?/)).reduce((function(e,t){return yr(e)?e:e[t]}),e);return Ar(r)||r===e?Ar(e[t])?n:e[t]:r},Pr=function(e){return"boolean"===typeof e},jr={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Or={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Ir="max",Mr="min",Tr="maxLength",Lr="minLength",Rr="pattern",Dr="required",Fr="validate",zr=(e.createContext(null),function(e,t,n){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a={defaultValues:t._defaultValues},o=function(o){Object.defineProperty(a,o,{get:function(){var a=o;return t._proxyFormState[a]!==Or.all&&(t._proxyFormState[a]=!r||Or.all),n&&(n[a]=!0),e[a]}})};for(var l in e)o(l);return a}),Vr=function(e){return br(e)&&!Object.keys(e).length},Ur=function(e,t,n,r){n(e);e.name;var a=rn(e,dr);return Vr(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find((function(e){return t[e]===(!r||Or.all)}))},Br=function(e){return Array.isArray(e)?e:[e]};function Kr(t){var n=e.useRef(t);n.current=t,e.useEffect((function(){var e=!t.disabled&&n.current.subject&&n.current.subject.subscribe({next:n.current.next});return function(){e&&e.unsubscribe()}}),[t.disabled])}var Qr=function(e){return"string"===typeof e},Hr=function(e,t,n,r,a){return Qr(e)?(r&&t.watch.add(e),Nr(n,e,a)):Array.isArray(e)?e.map((function(e){return r&&t.watch.add(e),Nr(n,e)})):(r&&(t.watchAll=!0),n)};var Wr=function(e){return/^\w*$/.test(e)},Gr=function(e){return Cr(e.replace(/["|']|\]/g,"").split(/\.|\[/))};function Jr(e,t,n){for(var r=-1,a=Wr(t)?[t]:Gr(t),o=a.length,l=o-1;++r<o;){var i=a[r],u=n;if(r!==l){var s=e[i];u=br(s)||Array.isArray(s)?s:isNaN(+a[r+1])?{}:[]}e[i]=u,e=e[i]}return e}var Yr=function(e,t,n,r,a){return t?ue(ue({},n[e]),{},{types:ue(ue({},n[e]&&n[e].types?n[e].types:{}),{},le({},r,a||!0))}):{}},qr=function e(t,n,r){var a,o=sr(r||Object.keys(t));try{for(o.s();!(a=o.n()).done;){var l=a.value,i=Nr(t,l);if(i){var u=i._f,s=rn(i,pr);if(u&&n(u.name)){if(u.ref.focus){u.ref.focus();break}if(u.refs&&u.refs[0].focus){u.refs[0].focus();break}}else br(s)&&e(s,n)}}}catch(c){o.e(c)}finally{o.f()}},Xr=function(e){return{isOnSubmit:!e||e===Or.onSubmit,isOnBlur:e===Or.onBlur,isOnChange:e===Or.onChange,isOnAll:e===Or.all,isOnTouch:e===Or.onTouched}},Zr=function(e,t,n){return!n&&(t.watchAll||t.watch.has(e)||ir(t.watch).some((function(t){return e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))})))},_r=function(e,t,n){var r=Cr(Nr(e,n));return Jr(r,"root",t[n]),Jr(e,n,r),e},$r=function(e){return"file"===e.type},ea=function(e){return"function"===typeof e},ta=function(e){if(!Sr)return!1;var t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},na=function(e){return Qr(e)},ra=function(e){return"radio"===e.type},aa=function(e){return e instanceof RegExp},oa={value:!1,isValid:!1},la={value:!0,isValid:!0},ia=function(e){if(Array.isArray(e)){if(e.length>1){var t=e.filter((function(e){return e&&e.checked&&!e.disabled})).map((function(e){return e.value}));return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Ar(e[0].attributes.value)?Ar(e[0].value)||""===e[0].value?la:{value:e[0].value,isValid:!0}:la:oa}return oa},ua={isValid:!1,value:null},sa=function(e){return Array.isArray(e)?e.reduce((function(e,t){return t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e}),ua):ua};function ca(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(na(e)||Array.isArray(e)&&e.every(na)||Pr(e)&&!e)return{type:n,message:na(e)?e:"",ref:t}}var fa=function(e){return br(e)&&!aa(e)?e:{value:e,message:""}},da=function(){var e=fr(ur().mark((function e(t,n,r,a,o){var l,i,u,s,c,f,d,p,h,v,m,y,g,b,w,x,k,S,E,C,A,N,P,j,O,I,M,T,L,R,D,F,z,V,U,B,K,Q,H,W,G,J,Y,q,X,Z,_,$;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=t._f,i=l.ref,u=l.refs,s=l.required,c=l.maxLength,f=l.minLength,d=l.min,p=l.max,h=l.pattern,v=l.validate,m=l.name,y=l.valueAsNumber,g=l.mount,b=l.disabled,w=Nr(n,m),g&&!b){e.next=4;break}return e.abrupt("return",{});case 4:if(x=u?u[0]:i,k=function(e){a&&x.reportValidity&&(x.setCustomValidity(Pr(e)?"":e||""),x.reportValidity())},S={},E=ra(i),C=vr(i),A=E||C,N=(y||$r(i))&&Ar(i.value)&&Ar(w)||ta(i)&&""===i.value||""===w||Array.isArray(w)&&!w.length,P=Yr.bind(null,m,r,S),j=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Tr,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Lr,o=e?t:n;S[m]=ue({type:e?r:a,message:o,ref:i},P(e?r:a,o))},!(o?!Array.isArray(w)||!w.length:s&&(!A&&(N||yr(w))||Pr(w)&&!w||C&&!ia(u).isValid||E&&!sa(u).isValid))){e.next=20;break}if(O=na(s)?{value:!!s,message:s}:fa(s),I=O.value,M=O.message,!I){e.next=20;break}if(S[m]=ue({type:Dr,message:M,ref:x},P(Dr,M)),r){e.next=20;break}return k(M),e.abrupt("return",S);case 20:if(N||yr(d)&&yr(p)){e.next=29;break}if(R=fa(p),D=fa(d),yr(w)||isNaN(w)?(z=i.valueAsDate||new Date(w),V=function(e){return new Date((new Date).toDateString()+" "+e)},U="time"==i.type,B="week"==i.type,Qr(R.value)&&w&&(T=U?V(w)>V(R.value):B?w>R.value:z>new Date(R.value)),Qr(D.value)&&w&&(L=U?V(w)<V(D.value):B?w<D.value:z<new Date(D.value))):(F=i.valueAsNumber||(w?+w:w),yr(R.value)||(T=F>R.value),yr(D.value)||(L=F<D.value)),!T&&!L){e.next=29;break}if(j(!!T,R.message,D.message,Ir,Mr),r){e.next=29;break}return k(S[m].message),e.abrupt("return",S);case 29:if(!c&&!f||N||!(Qr(w)||o&&Array.isArray(w))){e.next=39;break}if(K=fa(c),Q=fa(f),H=!yr(K.value)&&w.length>+K.value,W=!yr(Q.value)&&w.length<+Q.value,!H&&!W){e.next=39;break}if(j(H,K.message,Q.message),r){e.next=39;break}return k(S[m].message),e.abrupt("return",S);case 39:if(!h||N||!Qr(w)){e.next=46;break}if(G=fa(h),J=G.value,Y=G.message,!aa(J)||w.match(J)){e.next=46;break}if(S[m]=ue({type:Rr,message:Y,ref:i},P(Rr,Y)),r){e.next=46;break}return k(Y),e.abrupt("return",S);case 46:if(!v){e.next=80;break}if(!ea(v)){e.next=59;break}return e.next=50,v(w,n);case 50:if(q=e.sent,!(X=ca(q,x))){e.next=57;break}if(S[m]=ue(ue({},X),P(Fr,X.message)),r){e.next=57;break}return k(X.message),e.abrupt("return",S);case 57:e.next=80;break;case 59:if(!br(v)){e.next=80;break}Z={},e.t0=ur().keys(v);case 62:if((e.t1=e.t0()).done){e.next=76;break}if(_=e.t1.value,Vr(Z)||r){e.next=66;break}return e.abrupt("break",76);case 66:return e.t2=ca,e.next=69,v[_](w,n);case 69:e.t3=e.sent,e.t4=x,e.t5=_,($=(0,e.t2)(e.t3,e.t4,e.t5))&&(Z=ue(ue({},$),P(_,$.message)),k($.message),r&&(S[m]=Z)),e.next=62;break;case 76:if(Vr(Z)){e.next=80;break}if(S[m]=ue({ref:x},Z),r){e.next=80;break}return e.abrupt("return",S);case 80:return k(!0),e.abrupt("return",S);case 82:case"end":return e.stop()}}),e)})));return function(t,n,r,a,o){return e.apply(this,arguments)}}();function pa(e,t){var n=Array.isArray(t)?t:Wr(t)?[t]:Gr(t),r=1===n.length?e:function(e,t){for(var n=t.slice(0,-1).length,r=0;r<n;)e=Ar(e)?r++:e[t[r++]];return e}(e,n),a=n.length-1,o=n[a];return r&&delete r[o],0!==a&&(br(r)&&Vr(r)||Array.isArray(r)&&function(e){for(var t in e)if(e.hasOwnProperty(t)&&!Ar(e[t]))return!1;return!0}(r))&&pa(e,n.slice(0,-1)),e}function ha(){var e=[];return{get observers(){return e},next:function(t){var n,r=sr(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;a.next&&a.next(t)}}catch(o){r.e(o)}finally{r.f()}},subscribe:function(t){return e.push(t),{unsubscribe:function(){e=e.filter((function(e){return e!==t}))}}},unsubscribe:function(){e=[]}}}var va=function(e){return yr(e)||!gr(e)};function ma(e,t){if(va(e)||va(t))return e===t;if(mr(e)&&mr(t))return e.getTime()===t.getTime();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var a=0,o=n;a<o.length;a++){var l=o[a],i=e[l];if(!r.includes(l))return!1;if("ref"!==l){var u=t[l];if(mr(i)&&mr(u)||br(i)&&br(u)||Array.isArray(i)&&Array.isArray(u)?!ma(i,u):i!==u)return!1}}return!0}var ya=function(e){return"select-multiple"===e.type},ga=function(e){return ra(e)||vr(e)},ba=function(e){return ta(e)&&e.isConnected},wa=function(e){for(var t in e)if(ea(e[t]))return!0;return!1};function xa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Array.isArray(e);if(br(e)||n)for(var r in e)Array.isArray(e[r])||br(e[r])&&!wa(e[r])?(t[r]=Array.isArray(e[r])?[]:{},xa(e[r],t[r])):yr(e[r])||(t[r]=!0);return t}function ka(e,t,n){var r=Array.isArray(e);if(br(e)||r)for(var a in e)Array.isArray(e[a])||br(e[a])&&!wa(e[a])?Ar(t)||va(n[a])?n[a]=Array.isArray(e[a])?xa(e[a],[]):ue({},xa(e[a])):ka(e[a],yr(t)?{}:t[a],n[a]):n[a]=!ma(e[a],t[a]);return n}var Sa=function(e,t){return ka(e,t,xa(t))},Ea=function(e,t){var n=t.valueAsNumber,r=t.valueAsDate,a=t.setValueAs;return Ar(e)?e:n?""===e?NaN:e?+e:e:r&&Qr(e)?new Date(e):a?a(e):e};function Ca(e){var t=e.ref;if(!(e.refs?e.refs.every((function(e){return e.disabled})):t.disabled))return $r(t)?t.files:ra(t)?sa(e.refs).value:ya(t)?ir(t.selectedOptions).map((function(e){return e.value})):vr(t)?ia(e.refs).value:Ea(Ar(t.value)?e.ref.value:t.value,e)}var Aa=function(e,t,n,r){var a,o={},l=sr(e);try{for(l.s();!(a=l.n()).done;){var i=a.value,u=Nr(t,i);u&&Jr(o,i,u._f)}}catch(s){l.e(s)}finally{l.f()}return{criteriaMode:n,names:ir(e),fields:o,shouldUseNativeValidation:r}},Na=function(e){return Ar(e)?e:aa(e)?e.source:br(e)?aa(e.value)?e.value.source:e.value:e},Pa=function(e){return e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate)};function ja(e,t,n){var r=Nr(e,n);if(r||Wr(n))return{error:r,name:n};for(var a=n.split(".");a.length;){var o=a.join("."),l=Nr(t,o),i=Nr(e,o);if(l&&!Array.isArray(l)&&n!==o)return{name:n};if(i&&i.type)return{name:o,error:i};a.pop()}return{name:n}}var Oa=function(e,t,n,r,a){return!a.isOnAll&&(!n&&a.isOnTouch?!(t||e):(n?r.isOnBlur:a.isOnBlur)?!e:!(n?r.isOnChange:a.isOnChange)||e)},Ia=function(e,t){return!Cr(Nr(e,t)).length&&pa(e,t)},Ma={mode:Or.onSubmit,reValidateMode:Or.onChange,shouldFocusError:!0};function Ta(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r=ue(ue({},Ma),t),a={submitCount:0,isDirty:!1,isLoading:ea(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},errors:{}},o={},l=(br(r.defaultValues)||br(r.values))&&Er(r.defaultValues||r.values)||{},i=r.shouldUnregister?{}:Er(l),u={action:!1,mount:!1,watch:!1},s={mount:new Set,unMount:new Set,array:new Set,watch:new Set},c=0,f={isDirty:!1,dirtyFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:ha(),array:ha(),state:ha()},p=t.resetOptions&&t.resetOptions.keepDirtyValues,h=Xr(r.mode),v=Xr(r.reValidateMode),m=r.criteriaMode===Or.all,y=function(){var e=fr(ur().mark((function e(t){var n;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!f.isValid&&!t){e.next=14;break}if(!r.resolver){e.next=9;break}return e.t1=Vr,e.next=5,k();case 5:e.t2=e.sent.errors,e.t0=(0,e.t1)(e.t2),e.next=12;break;case 9:return e.next=11,E(o,!0);case 11:e.t0=e.sent;case 12:(n=e.t0)!==a.isValid&&d.state.next({isValid:n});case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(e){return f.isValidating&&d.state.next({isValidating:e})},b=function(e,t,n,r){var a=Nr(o,e);if(a){var s=Nr(i,e,Ar(n)?Nr(l,e):n);Ar(s)||r&&r.defaultChecked||t?Jr(i,e,t?s:Ca(a._f)):N(e,s),u.mount&&y()}},w=function(e,t,n,r,o){var i=!1,u=!1,s={name:e};if(!n||r){f.isDirty&&(u=a.isDirty,a.isDirty=s.isDirty=C(),i=u!==s.isDirty);var c=ma(Nr(l,e),t);u=Nr(a.dirtyFields,e),c?pa(a.dirtyFields,e):Jr(a.dirtyFields,e,!0),s.dirtyFields=a.dirtyFields,i=i||f.dirtyFields&&u!==!c}if(n){var p=Nr(a.touchedFields,e);p||(Jr(a.touchedFields,e,n),s.touchedFields=a.touchedFields,i=i||f.touchedFields&&p!==n)}return i&&o&&d.state.next(s),i?s:{}},x=function(n,r,o,l){var i,u=Nr(a.errors,n),s=f.isValid&&Pr(r)&&a.isValid!==r;if(t.delayError&&o?(i=function(){return function(e,t){Jr(a.errors,e,t),d.state.next({errors:a.errors})}(n,o)},(e=function(e){clearTimeout(c),c=setTimeout(i,e)})(t.delayError)):(clearTimeout(c),e=null,o?Jr(a.errors,n,o):pa(a.errors,n)),(o?!ma(u,o):u)||!Vr(l)||s){var p=ue(ue(ue({},l),s&&Pr(r)?{isValid:r}:{}),{},{errors:a.errors,name:n});a=ue(ue({},a),p),d.state.next(p)}g(!1)},k=function(){var e=fr(ur().mark((function e(t){return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",r.resolver(i,r.context,Aa(t||s.mount,o,r.criteriaMode,r.shouldUseNativeValidation)));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),S=function(){var e=fr(ur().mark((function e(t){var n,r,o,l,i,u;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,k(t);case 2:if(n=e.sent,r=n.errors,t){o=sr(t);try{for(o.s();!(l=o.n()).done;)i=l.value,(u=Nr(r,i))?Jr(a.errors,i,u):pa(a.errors,i)}catch(s){o.e(s)}finally{o.f()}}else a.errors=r;return e.abrupt("return",r);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),E=function(){var e=fr(ur().mark((function e(t,n){var o,l,u,c,f,d,p,h=arguments;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o=h.length>2&&void 0!==h[2]?h[2]:{valid:!0},e.t0=ur().keys(t);case 2:if((e.t1=e.t0()).done){e.next=23;break}if(l=e.t1.value,!(u=t[l])){e.next=21;break}if(c=u._f,f=rn(u,hr),!c){e.next=17;break}return d=s.array.has(c.name),e.next=11,da(u,i,m,r.shouldUseNativeValidation&&!n,d);case 11:if(!(p=e.sent)[c.name]){e.next=16;break}if(o.valid=!1,!n){e.next=16;break}return e.abrupt("break",23);case 16:!n&&(Nr(p,c.name)?d?_r(a.errors,p,c.name):Jr(a.errors,c.name,p[c.name]):pa(a.errors,c.name));case 17:if(e.t2=f,!e.t2){e.next=21;break}return e.next=21,E(f,n,o);case 21:e.next=2;break;case 23:return e.abrupt("return",o.valid);case 24:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),C=function(e,t){return e&&t&&Jr(i,e,t),!ma(M(),l)},A=function(e,t,n){return Hr(e,s,ue({},u.mount?i:Ar(t)?l:Qr(e)?le({},e,t):t),n,t)},N=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Nr(o,e),a=t;if(r){var l=r._f;l&&(!l.disabled&&Jr(i,e,Ea(t,l)),a=ta(l.ref)&&yr(t)?"":t,ya(l.ref)?ir(l.ref.options).forEach((function(e){return e.selected=a.includes(e.value)})):l.refs?vr(l.ref)?l.refs.length>1?l.refs.forEach((function(e){return(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(a)?!!a.find((function(t){return t===e.value})):a===e.value)})):l.refs[0]&&(l.refs[0].checked=!!a):l.refs.forEach((function(e){return e.checked=e.value===a})):$r(l.ref)?l.ref.value="":(l.ref.value=a,l.ref.type||d.values.next({name:e,values:ue({},i)})))}(n.shouldDirty||n.shouldTouch)&&w(e,a,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&I(e)},P=function e(t,n,r){for(var a in n){var l=n[a],i="".concat(t,".").concat(a),u=Nr(o,i);!s.array.has(t)&&va(l)&&(!u||u._f)||mr(l)?N(i,l,r):e(i,l,r)}},j=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=Nr(o,e),p=s.array.has(e),h=Er(t);Jr(i,e,h),p?(d.array.next({name:e,values:ue({},i)}),(f.isDirty||f.dirtyFields)&&r.shouldDirty&&d.state.next({name:e,dirtyFields:Sa(l,i),isDirty:C(e,h)})):!c||c._f||yr(h)?N(e,h,r):P(e,h,r),Zr(e,s)&&d.state.next(ue({},a)),d.values.next({name:e,values:ue({},i)}),!u.mount&&n()},O=function(){var t=fr(ur().mark((function t(n){var l,u,c,p,b,S,C,A,N,P,j,O,M,T,L,R,D;return ur().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(l=n.target,u=l.name,c=!0,p=Nr(o,u),b=function(){return l.type?Ca(p._f):wr(n)},!p){t.next=47;break}if(A=b(),N=n.type===jr.BLUR||n.type===jr.FOCUS_OUT,P=!Pa(p._f)&&!r.resolver&&!Nr(a.errors,u)&&!p._f.deps||Oa(N,Nr(a.touchedFields,u),a.isSubmitted,v,h),j=Zr(u,s,N),Jr(i,u,A),N?(p._f.onBlur&&p._f.onBlur(n),e&&e(0)):p._f.onChange&&p._f.onChange(n),O=w(u,A,N,!1),M=!Vr(O)||j,!N&&d.values.next({name:u,type:n.type,values:ue({},i)}),!P){t.next=18;break}return f.isValid&&y(),t.abrupt("return",M&&d.state.next(ue({name:u},j?{}:O)));case 18:if(!N&&j&&d.state.next(ue({},a)),g(!0),!r.resolver){t.next=32;break}return t.next=23,k([u]);case 23:T=t.sent,L=T.errors,R=ja(a.errors,o,u),D=ja(L,o,R.name||u),S=D.error,u=D.name,C=Vr(L),t.next=46;break;case 32:return t.next=34,da(p,i,m,r.shouldUseNativeValidation);case 34:if(t.t0=u,S=t.sent[t.t0],!(c=Number.isNaN(A)||A===Nr(i,u,A))){t.next=46;break}if(!S){t.next=42;break}C=!1,t.next=46;break;case 42:if(!f.isValid){t.next=46;break}return t.next=45,E(o,!0);case 45:C=t.sent;case 46:c&&(p._f.deps&&I(p._f.deps),x(u,C,S,O));case 47:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),I=function(){var e=fr(ur().mark((function e(t){var n,l,i,u,c,p=arguments;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=p.length>1&&void 0!==p[1]?p[1]:{},u=Br(t),g(!0),!r.resolver){e.next=11;break}return e.next=6,S(Ar(t)?t:u);case 6:c=e.sent,l=Vr(c),i=t?!u.some((function(e){return Nr(c,e)})):l,e.next=21;break;case 11:if(!t){e.next=18;break}return e.next=14,Promise.all(u.map(function(){var e=fr(ur().mark((function e(t){var n;return ur().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Nr(o,t),e.next=3,E(n&&n._f?le({},t,n):n);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 14:((i=e.sent.every(Boolean))||a.isValid)&&y(),e.next=21;break;case 18:return e.next=20,E(o);case 20:i=l=e.sent;case 21:return d.state.next(ue(ue(ue({},!Qr(t)||f.isValid&&l!==a.isValid?{}:{name:t}),r.resolver||!t?{isValid:l}:{}),{},{errors:a.errors,isValidating:!1})),n.shouldFocus&&!i&&qr(o,(function(e){return e&&Nr(a.errors,e)}),t?u:s.mount),e.abrupt("return",i);case 24:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(e){var t=ue(ue({},l),u.mount?i:{});return Ar(e)?t:Qr(e)?Nr(t,e):e.map((function(e){return Nr(t,e)}))},T=function(e,t){return{invalid:!!Nr((t||a).errors,e),isDirty:!!Nr((t||a).dirtyFields,e),isTouched:!!Nr((t||a).touchedFields,e),error:Nr((t||a).errors,e)}},L=function(e,t,n){var r=(Nr(o,e,{_f:{}})._f||{}).ref;Jr(a.errors,e,ue(ue({},t),{},{ref:r})),d.state.next({name:e,errors:a.errors,isValid:!1}),n&&n.shouldFocus&&r&&r.focus&&r.focus()},R=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=sr(e?Br(e):s.mount);try{for(u.s();!(t=u.n()).done;){var c=t.value;s.mount.delete(c),s.array.delete(c),n.keepValue||(pa(o,c),pa(i,c)),!n.keepError&&pa(a.errors,c),!n.keepDirty&&pa(a.dirtyFields,c),!n.keepTouched&&pa(a.touchedFields,c),!r.shouldUnregister&&!n.keepDefaultValue&&pa(l,c)}}catch(f){u.e(f)}finally{u.f()}d.values.next({values:ue({},i)}),d.state.next(ue(ue({},a),n.keepDirty?{isDirty:C()}:{})),!n.keepIsValid&&y()},D=function(e){var t=e.disabled,n=e.name,r=e.field,a=e.fields;if(Pr(t)){var o=t?void 0:Nr(i,n,Ca(r?r._f:Nr(a,n)._f));Jr(i,n,o),w(n,o,!1,!1,!0)}},F=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=Nr(o,t),i=Pr(n.disabled);return Jr(o,t,ue(ue({},a||{}),{},{_f:ue(ue({},a&&a._f?a._f:{ref:{name:t}}),{},{name:t,mount:!0},n)})),s.mount.add(t),a?D({field:a,disabled:n.disabled,name:t}):b(t,!0,n.value),ue(ue(ue({},i?{disabled:n.disabled}:{}),r.progressive?{required:!!n.required,min:Na(n.min),max:Na(n.max),minLength:Na(n.minLength),maxLength:Na(n.maxLength),pattern:Na(n.pattern)}:{}),{},{name:t,onChange:O,onBlur:O,ref:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(i){if(i){e(t,n),a=Nr(o,t);var c=Ar(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,f=ga(c),d=a._f.refs||[];if(f?d.find((function(e){return e===c})):c===a._f.ref)return;Jr(o,t,{_f:ue(ue({},a._f),f?{refs:[].concat(ir(d.filter(ba)),[c],ir(Array.isArray(Nr(l,t))?[{}]:[])),ref:{type:c.type,name:t}}:{ref:c})}),b(t,!1,void 0,c)}else(a=Nr(o,t,{}))._f&&(a._f.mount=!1),(r.shouldUnregister||n.shouldUnregister)&&(!xr(s.array,t)||!u.action)&&s.unMount.add(t)}))})},z=function(){return r.shouldFocusError&&qr(o,(function(e){return e&&Nr(a.errors,e)}),s.mount)},V=function(e,t){return function(){var n=fr(ur().mark((function n(l){var u,s,c,f;return ur().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(l&&(l.preventDefault&&l.preventDefault(),l.persist&&l.persist()),u=Er(i),d.state.next({isSubmitting:!0}),!r.resolver){n.next=13;break}return n.next=6,k();case 6:s=n.sent,c=s.errors,f=s.values,a.errors=c,u=f,n.next=15;break;case 13:return n.next=15,E(o);case 15:if(pa(a.errors,"root"),!Vr(a.errors)){n.next=22;break}return d.state.next({errors:{}}),n.next=20,e(u,l);case 20:n.next=27;break;case 22:if(!t){n.next=25;break}return n.next=25,t(ue({},a.errors),l);case 25:z(),setTimeout(z);case 27:d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Vr(a.errors),submitCount:a.submitCount+1,errors:a.errors});case 28:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}()},U=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c=e?Er(e):l,h=Er(c),v=e&&!Vr(e)?h:l;if(r.keepDefaultValues||(l=c),!r.keepValues){if(r.keepDirtyValues||p){var m,y=sr(s.mount);try{for(y.s();!(m=y.n()).done;){var g=m.value;Nr(a.dirtyFields,g)?Jr(v,g,Nr(i,g)):j(g,Nr(v,g))}}catch(C){y.e(C)}finally{y.f()}}else{if(Sr&&Ar(e)){var b,w=sr(s.mount);try{for(w.s();!(b=w.n()).done;){var x=b.value,k=Nr(o,x);if(k&&k._f){var S=Array.isArray(k._f.refs)?k._f.refs[0]:k._f.ref;if(ta(S)){var E=S.closest("form");if(E){E.reset();break}}}}}catch(C){w.e(C)}finally{w.f()}}o={}}i=t.shouldUnregister?r.keepDefaultValues?Er(l):{}:Er(v),d.array.next({values:ue({},v)}),d.values.next({values:ue({},v)})}s={mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},!u.mount&&n(),u.mount=!f.isValid||!!r.keepIsValid,u.watch=!!t.shouldUnregister,d.state.next({submitCount:r.keepSubmitCount?a.submitCount:0,isDirty:r.keepDirty?a.isDirty:!(!r.keepDefaultValues||ma(e,l)),isSubmitted:!!r.keepIsSubmitted&&a.isSubmitted,dirtyFields:r.keepDirtyValues?a.dirtyFields:r.keepDefaultValues&&e?Sa(l,e):{},touchedFields:r.keepTouched?a.touchedFields:{},errors:r.keepErrors?a.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&a.isSubmitSuccessful,isSubmitting:!1})},B=function(e,t){return U(ea(e)?e(i):e,t)};return{control:{register:F,unregister:R,getFieldState:T,handleSubmit:V,setError:L,_executeSchema:k,_getWatch:A,_getDirty:C,_updateValid:y,_removeUnmounted:function(){var e,t=sr(s.unMount);try{for(t.s();!(e=t.n()).done;){var n=e.value,r=Nr(o,n);r&&(r._f.refs?r._f.refs.every((function(e){return!ba(e)})):!ba(r._f.ref))&&R(n)}}catch(a){t.e(a)}finally{t.f()}s.unMount=new Set},_updateFieldArray:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,s=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(r&&n){if(u.action=!0,c&&Array.isArray(Nr(o,e))){var p=n(Nr(o,e),r.argA,r.argB);s&&Jr(o,e,p)}if(c&&Array.isArray(Nr(a.errors,e))){var h=n(Nr(a.errors,e),r.argA,r.argB);s&&Jr(a.errors,e,h),Ia(a.errors,e)}if(f.touchedFields&&c&&Array.isArray(Nr(a.touchedFields,e))){var v=n(Nr(a.touchedFields,e),r.argA,r.argB);s&&Jr(a.touchedFields,e,v)}f.dirtyFields&&(a.dirtyFields=Sa(l,i)),d.state.next({name:e,isDirty:C(e,t),dirtyFields:a.dirtyFields,errors:a.errors,isValid:a.isValid})}else Jr(i,e,t)},_updateDisabledField:D,_getFieldArray:function(e){return Cr(Nr(u.mount?i:l,e,t.shouldUnregister?Nr(l,e,[]):[]))},_reset:U,_resetDefaultValues:function(){return ea(r.defaultValues)&&r.defaultValues().then((function(e){B(e,r.resetOptions),d.state.next({isLoading:!1})}))},_updateFormState:function(e){a=ue(ue({},a),e)},_subjects:d,_proxyFormState:f,get _fields(){return o},get _formValues(){return i},get _state(){return u},set _state(e){u=e},get _defaultValues(){return l},get _names(){return s},set _names(e){s=e},get _formState(){return a},set _formState(e){a=e},get _options(){return r},set _options(e){r=ue(ue({},r),e)}},trigger:I,register:F,handleSubmit:V,watch:function(e,t){return ea(e)?d.values.subscribe({next:function(n){return e(A(void 0,t),n)}}):A(e,t,!0)},setValue:j,getValues:M,reset:B,resetField:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Nr(o,e)&&(Ar(t.defaultValue)?j(e,Nr(l,e)):(j(e,t.defaultValue),Jr(l,e,t.defaultValue)),t.keepTouched||pa(a.touchedFields,e),t.keepDirty||(pa(a.dirtyFields,e),a.isDirty=t.defaultValue?C(e,Nr(l,e)):C()),t.keepError||(pa(a.errors,e),f.isValid&&y()),d.state.next(ue({},a)))},clearErrors:function(e){e&&Br(e).forEach((function(e){return pa(a.errors,e)})),d.state.next({errors:e?a.errors:{}})},unregister:R,setError:L,setFocus:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Nr(o,e),r=n&&n._f;if(r){var a=r.refs?r.refs[0]:r.ref;a.focus&&(a.focus(),t.shouldSelect&&a.select())}},getFieldState:T}}function La(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.useRef(),r=e.useRef(),a=Tt(e.useState({isDirty:!1,isValidating:!1,isLoading:ea(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},errors:{},defaultValues:ea(t.defaultValues)?void 0:t.defaultValues}),2),o=a[0],l=a[1];n.current||(n.current=ue(ue({},Ta(t,(function(){return l((function(e){return ue({},e)}))}))),{},{formState:o}));var i=n.current.control;return i._options=t,Kr({subject:i._subjects.state,next:function(e){Ur(e,i._proxyFormState,i._updateFormState,!0)&&l(ue({},i._formState))}}),e.useEffect((function(){t.values&&!ma(t.values,r.current)?(i._reset(t.values,i._options.resetOptions),r.current=t.values):i._resetDefaultValues()}),[t.values,i]),e.useEffect((function(){i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next(ue({},i._formState))),i._removeUnmounted()})),n.current.formState=zr(o,i),n.current}function Ra(e){var t=e.setModalContent,n=Ot(),r=La(),a=r.register,o=r.handleSubmit,l=r.formState.errors;return(0,Lt.jsxs)("form",{onSubmit:o((function(e){t(!1),n($e(e))})),className:"ModalAccountFlex",children:[(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex",children:[(0,Lt.jsx)("p",{className:"ModalAccountText",children:"\u0412\u0435\u0441:"}),(0,Lt.jsx)("input",ue(ue({},a("weight")),{},{className:"ModalAccountInput",type:"text"}))]}),(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex",children:[(0,Lt.jsx)("p",{className:"ModalAccountText",children:"\u0420\u043e\u0441\u0442:"}),(0,Lt.jsx)("input",ue(ue({},a("height")),{},{className:"ModalAccountInput",type:"text"}))]}),(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex",children:[(0,Lt.jsx)("p",{className:"ModalAccountText",children:"\u0412\u043e\u0437\u0440\u0430\u0441\u0442:"}),(0,Lt.jsx)("input",ue(ue({},a("age")),{},{className:"ModalAccountInput",type:"text"}))]}),(0,Lt.jsxs)(lr.Group,{controlId:"gender",children:[(0,Lt.jsx)(lr.Label,{className:"ModalAccountText",children:"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043f\u043e\u043b:"}),(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex margin-top",children:[(0,Lt.jsx)(lr.Check,ue({id:"1",className:"radio_gender",type:"radio",label:"\u0416\u0435\u043d\u0441\u043a\u0438\u0439",value:"\u0416\u0435\u043d\u0441\u043a\u0438\u0439",name:"gender"},a("gender"))),(0,Lt.jsx)(lr.Check,ue({id:"2",className:"radio_gender",type:"radio",label:"\u041c\u0443\u0436\u0441\u043a\u043e\u0439",value:"\u041c\u0443\u0436\u0441\u043a\u043e\u0439",name:"gender"},a("gender")))]}),l.gender&&(0,Lt.jsx)("p",{className:"errorMsg",children:l.gender.message})]}),l.exampleRequired&&(0,Lt.jsx)("p",{children:"This field is required"}),(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex",children:[(0,Lt.jsx)("input",{type:"submit",value:"\u0418\u0437\u043c\u0435\u043d\u0438\u0442\u044c",className:"ModalAccountBtn"}),(0,Lt.jsx)("input",{onClick:function(){t(!1)},type:"button",value:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",className:"ModalAccountBtn close"})]})]})}function Da(e){return Zt({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"}}]})(e)}var Fa=function(t){var n=t.modalActive,r=t.setModalActive,a=(Ot(),xt((function(e){return e.UserSlice.dataConstruct}))),o=Tt((0,e.useState)(!1),2),l=o[0],i=o[1];return(0,e.useEffect)((function(){localStorage.setItem("localUser",JSON.stringify(a))}),[JSON.stringify(a)]),(0,Lt.jsx)("div",{className:n?"modal active":"modal",onClick:function(){r(!1)},children:(0,Lt.jsxs)("div",{className:"ModalContent",onClick:function(e){return e.stopPropagation()},children:[(0,Lt.jsx)("div",{className:"Modal_close",children:(0,Lt.jsx)("button",{onClick:function(){return r(!1)},className:"ModalMenuBtn",children:(0,Lt.jsx)(Da,{size:32})})}),l?(0,Lt.jsx)(Ra,{setModalContent:i}):(0,Lt.jsx)(nn,{setModalContent:i})]})})};function za(e){return Zt({tag:"svg",attr:{viewBox:"0 0 1024 1024"},child:[{tag:"path",attr:{d:"M696 480H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8z"}},{tag:"path",attr:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]})(e)}function Va(e){return Zt({tag:"svg",attr:{viewBox:"0 0 15 15",fill:"none"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",d:"M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z",fill:"currentColor"}}]})(e)}var Ua=function(t){var n=t.modalMenuEdaActive,r=t.setmodalMenuEdaActive,a=t.titleIndex,o=t.setCountProduct,l=t.countProduct,i=t.meal,u=t.setMeal,s=t.setMyBasket,c=t.myBasket,f=Tt((0,e.useState)([]),2),d=f[0],p=f[1],h=Tt((0,e.useState)(!0),2),v=h[0],m=h[1],y=Tt((0,e.useState)([]),2),g=y[0],b=y[1],w=Tt((0,e.useState)(!0),2),x=w[0],k=w[1],S=Tt((0,e.useState)(""),2),E=S[0],C=S[1];function A(){var e=0,t=0,n=0,r=0,o=0,l=ir(i);"\u0417\u0430\u0432\u0442\u0440\u0430\u043a"===a&&(e=0),"\u041e\u0431\u0435\u0434"===a&&(e=1),"\u0423\u0436\u0438\u043d"===a&&(e=2),"\u041f\u0435\u0440\u0435\u043a\u0443\u0441"===a&&(e=3);var u=l[e].product.map((function(e){return e.Carbohydrates}));u.forEach((function(e){n+=e}));var c=l[e].product.map((function(e){return e.Proteins}));c.forEach((function(e){r+=e}));var f=l[e].product.map((function(e){return e.Fats}));f.forEach((function(e){o+=e}));var d=l[e].product.map((function(e){return e.Kcal}));d.forEach((function(e){t+=e})),l[e].calorias=t,l[e].carbohydrates=n,l[e].proteins=r,l[e].fats=o,s(i[e].product)}(0,e.useEffect)((function(){var e=E?"&search=".concat(E):"";fetch("https://6541009545bedb25bfc30b92.mockapi.io/products?".concat(e)).then((function(e){return e.json()})).then((function(e){p(e)}))}),[E]);var N=La(),P=N.register,j=N.handleSubmit;return N.formState.errors,console.log(g),(0,Lt.jsx)("div",{className:n?"modal active":"modal",onClick:function(){r(!1),m(!0),k(!0)},children:(0,Lt.jsxs)("div",{className:"ModalMenuContent",onClick:function(e){return e.stopPropagation()},children:[(0,Lt.jsx)("div",{className:"Modal_close",children:(0,Lt.jsx)("button",{onClick:function(){return r(!1)},className:"ModalMenuBtn",children:(0,Lt.jsx)(Da,{size:32})})}),(0,Lt.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"20px"},children:[(0,Lt.jsx)("h2",{children:a}),(0,Lt.jsx)("button",{className:"circleCountProduct",onClick:function(){return m((function(e){return!e}))},children:(0,Lt.jsx)("p",{style:{fontSize:"24px",margin:"0"},children:l})})]}),(0,Lt.jsxs)("div",{className:v&&x?"ProductActive":"NoneProductActive",children:[(0,Lt.jsx)("input",{className:"inputModalMenu",type:"text",placeholder:"\u0427\u0442\u043e \u0432\u044b \u0438\u0449\u0435\u0442\u0435?",value:E,onChange:function(e){return C(e.target.value)}}),(0,Lt.jsx)("div",{className:"ScrollContent",children:d.length>0&&d.map((function(e){return(0,Lt.jsxs)("div",{className:"product-style",children:[(0,Lt.jsxs)("div",{children:[(0,Lt.jsx)("h4",{className:"product-title",children:e.title}),(0,Lt.jsx)("p",{className:"product-text",children:e.text})]}),(0,Lt.jsxs)("div",{style:{display:"flex",gap:"10px",alignItems:"center"},children:[(0,Lt.jsxs)("p",{className:"product-kcal",children:[e.kcal," \u043a\u043a\u0430\u043b"]}),(0,Lt.jsx)("button",{value:a,onClick:function(){!function(e,t,n,r,l,s){var c=ir(i),f=0;"\u0417\u0430\u0432\u0442\u0440\u0430\u043a"===a&&(f=0),"\u041e\u0431\u0435\u0434"===a&&(f=1),"\u0423\u0436\u0438\u043d"===a&&(f=2),"\u041f\u0435\u0440\u0435\u043a\u0443\u0441"===a&&(f=3);var d={Product:e,Kcal:t,Carbohydrates:n,Proteins:r,Fats:l,text:s,id:Math.random()};c[f].product.push(d),o(c[f].product.length),u(c)}(e.title,e.kcal,e.carbohydrates,e.proteins,e.fats,e.text),A()},className:"ModalMenuBtn",children:(0,Lt.jsx)(za,{size:30})})]})]},e.id)}))})]}),(0,Lt.jsx)("div",{className:v||!x||v?"NoneProductActive":"xProductActive",children:(0,Lt.jsx)("div",{className:"ScrollContent",children:c.length>0&&c.map((function(e){return(0,Lt.jsxs)("div",{className:"product-style",children:[(0,Lt.jsxs)("div",{children:[(0,Lt.jsx)("h4",{className:"product-title",children:e.Product}),(0,Lt.jsx)("p",{className:"product-text",children:e.text})]}),(0,Lt.jsxs)("div",{style:{display:"flex",gap:"10px",alignItems:"center"},children:[(0,Lt.jsxs)("p",{className:"product-kcal",children:[e.Kcal," \u043a\u043a\u0430\u043b"]}),(0,Lt.jsx)("button",{onClick:function(){!function(e){var t=0;"\u0417\u0430\u0432\u0442\u0440\u0430\u043a"===a&&(t=0),"\u041e\u0431\u0435\u0434"===a&&(t=1),"\u0423\u0436\u0438\u043d"===a&&(t=2),"\u041f\u0435\u0440\u0435\u043a\u0443\u0441"===a&&(t=3);var n=ir(i),r=n[t].product;n[t].product=r.filter((function(t){return t.id!==e})),n[t].calorias=0,u(n),s(i[t].product),o(n[t].product.length)}(e.id),A()},className:"ModalMenuBtn",children:(0,Lt.jsx)(Va,{size:30})})]})]},e.id)}))})}),(0,Lt.jsxs)("form",{onSubmit:j((function(e){var t=0,n=ir(i);"\u0417\u0430\u0432\u0442\u0440\u0430\u043a"===a&&(t=0),"\u041e\u0431\u0435\u0434"===a&&(t=1),"\u0423\u0436\u0438\u043d"===a&&(t=2),"\u041f\u0435\u0440\u0435\u043a\u0443\u0441"===a&&(t=3);var r={Product:e.description,Kcal:Number(e.kcal),Carbohydrates:Number(e.\u0441arbohydrates),Proteins:Number(e.proteins),Fats:Number(e.fats),text:"",id:Math.random()};n[t].product.push(r),o(n[t].product.length),u(n),s(i[t].product),b(e),A()})),className:x?"NoneProductActive":"ModalAccountFlex",children:[(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsx)("input",ue(ue({},P("description")),{},{placeholder:"\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",className:"ModalNewProductInput",type:"text"}))}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsx)("input",ue(ue({},P("kcal")),{},{placeholder:"\u041a\u0430\u043b\u043e\u0440\u0438\u0439\u043d\u043e\u0441\u0442\u044c (\u043a\u043a\u0430\u043b)",className:"ModalNewProductInput",type:"text"}))}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsx)("input",ue(ue({},P("\u0441arbohydrates")),{},{placeholder:"\u0423\u0433\u043b\u0435\u0432\u043e\u0434\u044b (\u0433)",className:"ModalNewProductInput",type:"text"}))}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsx)("input",ue(ue({},P("proteins")),{},{placeholder:"\u0411\u0435\u043b\u043a\u0438 (\u0433)",className:"ModalNewProductInput",type:"text"}))}),(0,Lt.jsx)("div",{className:"ModalAccountFlexFlex",children:(0,Lt.jsx)("input",ue(ue({},P("fats")),{},{placeholder:"\u0416\u0438\u0440\u044b (\u0433)",className:"ModalNewProductInput",type:"text"}))}),(0,Lt.jsxs)("div",{className:"ModalAccountFlexFlex",children:[(0,Lt.jsx)("input",{type:"submit",className:"ModalAccountBtn",onClick:function(){return k((function(e){return!e}))}}),(0,Lt.jsx)("input",{type:"button",value:"\u041e\u0442\u043c\u0435\u043d\u0438\u0442\u044c",onClick:function(){return k((function(e){return!e}))},className:"ModalAccountBtn close"})]})]}),(0,Lt.jsx)("button",{className:x?"ModalEdaAccountBtn":"NoneProductActive",onClick:function(){return k((function(e){return!e}))},children:"\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442"})]})})};var Ba=function(){var t=xt((function(e){return e.CalloriasAll.CalloriasAll})),n=Ot(),r=Tt((0,e.useState)(!1),2),a=r[0],o=r[1],l=Tt((0,e.useState)(""),2),i=l[0],u=l[1],s=Tt((0,e.useState)([]),2),c=s[0],f=s[1],d=Tt((0,e.useState)(0),2),p=d[0],h=d[1],v=Tt((0,e.useState)(JSON.parse(localStorage.getItem("localMeal"))||[{title:"\u0417\u0430\u0432\u0442\u0440\u0430\u043a",img:"",allCalorias:0,calorias:0,carbohydrates:0,proteins:0,fats:0,product:[],color:"red"},{title:"\u041e\u0431\u0435\u0434",img:"",allCalorias:0,calorias:0,carbohydrates:0,proteins:0,fats:0,product:[],color:"yellow"},{title:"\u0423\u0436\u0438\u043d",img:"",allCalorias:0,calorias:0,carbohydrates:0,proteins:0,fats:0,product:[],color:"blue"},{title:"\u041f\u0435\u0440\u0435\u043a\u0443\u0441",img:"",allCalorias:0,calorias:0,carbohydrates:0,proteins:0,fats:0,product:[],color:"green"}]),2),m=v[0],y=v[1];function g(e){var t=e.target.value;u(t),o(!0),"\u0417\u0430\u0432\u0442\u0440\u0430\u043a"===t&&(h(m[0].product.length),f(m[0].product)),"\u041e\u0431\u0435\u0434"===t&&(h(m[1].product.length),f(m[1].product)),"\u0423\u0436\u0438\u043d"===t&&(h(m[2].product.length),f(m[2].product)),"\u041f\u0435\u0440\u0435\u043a\u0443\u0441\u044b"===t&&(h(m[3].product.length),f(m[3].product))}return(0,e.useEffect)((function(){var e=ir(m);e[0].allCalorias=Math.round(.25*t),e[1].allCalorias=Math.round(.4*t),e[2].allCalorias=Math.round(.2*t),e[3].allCalorias=Math.round(.15*t),y(e)}),[t]),(0,e.useEffect)((function(){localStorage.setItem("localMeal",JSON.stringify(m))}),[JSON.stringify(m)]),(0,e.useEffect)((function(){var e=0,t=m.map((function(e){return e.carbohydrates}));t.forEach((function(t){e+=t}));var r=0,a=m.map((function(e){return e.proteins}));a.forEach((function(e){r+=e}));var o=0,l=m.map((function(e){return e.fats}));l.forEach((function(e){o+=e}));var i=0,u=m.map((function(e){return e.calorias}));u.forEach((function(e){i+=e})),n(ot({sumKcal:i,sumCarbohydrates:e,sumProteins:r,sumFats:o}))}),[m]),(0,Lt.jsxs)("div",{children:[(0,Lt.jsx)("div",{className:"MenuEda",children:m.length>0&&m.map((function(e){return(0,Lt.jsxs)("div",{className:e.color,children:[(0,Lt.jsxs)("div",{className:"mealFlex",children:[(0,Lt.jsxs)("div",{children:[(0,Lt.jsx)("h3",{className:"mealH3",children:e.title}),e.product.map((function(e){return(0,Lt.jsx)("p",{className:"mealP",children:e.Product},Math.random())}))]}),(0,Lt.jsx)("img",{className:"meanImg",src:e.img,alt:""})]}),(0,Lt.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",flex:"0 0 auto"},children:[(0,Lt.jsxs)("p",{className:"mealNumber",children:[e.calorias," / ",e.allCalorias,(0,Lt.jsx)("span",{children:"\u043a\u043a\u0430\u043b"})]}),(0,Lt.jsx)("button",{value:e.title,onClick:g,className:"mealMore",children:"\u0411\u043e\u043b\u044c\u0448\u0435"})]})]},e.title)}))}),(0,Lt.jsx)(Ua,{titleIndex:i,modalMenuEdaActive:a,setmodalMenuEdaActive:o,countProduct:p,setCountProduct:h,meal:m,setMeal:y,myBasket:c,setMyBasket:f})]})};var Ka=function(){Ot();var t=xt((function(e){return e.CalloriasAll.CalloriasAll})),n=Tt((0,e.useState)(!1),2),r=n[0],a=n[1];return(0,e.useEffect)((function(){localStorage.setItem("CalloriasAll",JSON.stringify(t))}),[JSON.stringify(t)]),(0,Lt.jsxs)("div",{className:"Home",children:[(0,Lt.jsx)(tn,{setModalActive:a}),(0,Lt.jsx)(Wt,{}),(0,Lt.jsx)(Ba,{}),(0,Lt.jsx)(Fa,{setModalActive:a,modalActive:r})]})};var Qa=function(){return(0,Lt.jsx)(Ct,{store:lt,children:(0,Lt.jsx)("div",{className:"App",children:(0,Lt.jsx)(Ka,{})})})};t.createRoot(document.getElementById("root")).render((0,Lt.jsx)("div",{className:"container",children:(0,Lt.jsx)(Qa,{})}))}()}();
//# sourceMappingURL=main.30399fa0.js.map